Re: [PHP-DEV] Re: [PHP] Threading

[email protected] ("Braulio Jos? Solano Rojas")
Newsgroups php.dev
Message-ID <[email protected]>
Hi!

>"George Schlossnagle" <[email protected]> escribió en el mensaje
news:[email protected]...
>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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.