Re: Re: Threading
| From: | Braulio Jos� Solano Rojas | Date: | Thu, 27 Feb 2003 19:12:13 +0000 |
| Subject: | Re: Re: Threading | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94639@lists.php.net to get a copy of this message | ||
Hi!
>"George Schlossnagle" <george@omniti.com> escribió en el mensaje
news:F8874747-4A84-11D7-8ACF-000393B2B3C0@omniti.com...
>On Thursday, February 27, 2003, at 01:50 PM, Braulio JosX Solano Rojas
>wrote:
>
> Are there semaphores in PHP?
>
>Yes. I'd recommend a reading of the fine manual.
I did of course.
> Of course if you're actually writing an extension it doesn't matter
> much if the semaphores are implemented in PHP or not, since you'll
> probably just want to use the sysv ipc support of the os yourself,
> without taking it through php userland functions.
I already know about this functionality, but as you know this is only for
Unix. And yes it matters if the semaphores are implemented in PHP since I
need portability between different OSes. (I like Inter-Process Comunication,
I am sorry not to have it on win32).
I am working in an extension that provides functionality to read CDS/ISIS
databases on PHP. Those databases are files (there is not a server, but a
server is planned by the OpenIsis project [1]), so when there is concurrency
we should provide consistent data. There is a paper on different solutions
on how to solve this on PHP [2]. I was thinking of assume the worst case:
PHP as a CGI. But, I am really interested in multi-threading inside PHP.
CDS/ISIS is wide used in latin-america by librarians. If I could have a
multi-platform solution, that would be great.
Regards,
Braulio
[1] http://sourceforge.net/projects/isis
[2] http://openisis.org/openisis/doc/Concurrency