Re: Re[3]: [PHP-DEV] PHP and Threads
| From: | Wez Furlong | Date: | Mon, 22 Apr 2002 17:03:06 +0000 |
| Subject: | Re: Re[3]: [PHP-DEV] PHP and Threads | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-83147@lists.php.net to get a copy of this message | ||
On 22/04/02, "Daniel Lorch" <daniel@lorch.cc> wrote:
> > unfortunately these signals provide only limited functionality.
> > Another approach to IPC (inter process communication) [..]
> by the way, wez has done some great work on bidirectional pipes,
Thanks :-)
I've not had any feedback on that yet; I would appreciate it if
people could drop me a note if/when they try it, just so I know
how well it works or if there are problems.
> in case you are looking for this functionality:
>
> http://news.php.net/article.php?group=php.dev&article=82031
Also see http://php.net/proc_open for the
"official" docs.
Unfortunately, I don't think this is what Dan needs. What he
needs is a PHP user-space equivalent to pipe(), or to just
have his parent process start a daemon on a unix-domain socket
and have the children connect to it.
The latter is probably the easiest, provided that you watch out
for gotchas with permissions on the socket in the filesystem.
--Wez.