Hi everyone!

I wrote a script which utilises semaphore and shared memory.
It polls the shared memory for an event before breaking from the polling
function.
I wrote another script that the sets this event in shared memory.

How I tested the script was as follows:
I ran 3 ttys, two of them running the polling script. Naturally they will be
waiting for the event to be set.
And on the last terminal, I executed the event set script. Upon execution,
both polling scripts were seen to have terminated their polling.

Everything seems to be acting accordingly, except for the warning message
that appears on both terminals running the polling script.

Here is the warning message:
Warning: Releasing SysV semaphore id 1 key 0x7b2 in request cleanup in
Unknown on line 0

Is this warning message potentially a problem? Or could I just turn off this
warning in the php.ini? How can I prevent this message from appearing if it
is not potentially dangerous?

Any help is greatly appreciated.

TIA

Michael


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to