ID: 28197
Updated by: [EMAIL PROTECTED]
Reported By: neo at gothic-chat dot de
-Status: Open
+Status: Feedback
Bug Type: Semaphore related
Operating System: FreeBSD 5.1
PHP Version: 4.3.4
New Comment:
And does it emit a warning or error message?
Previous Comments:
------------------------------------------------------------------------
[2004-04-28 02:11:27] neo at gothic-chat dot de
Description:
------------
On my developement-system (FreeBSD 5.1), msg_receive doesn't block
until a new message arrives, even if MSG_IPC_NOWAIT is not passed to
flags. msg_receive will return immediately, returning false.
Reproduce code:
---------------
while (true) {
$rcv = msg_receive ($key, 0, $msg_type, 65536, $msginfo, true, 0);
var_dump ($rcv));
}
Expected result:
----------------
The script should block until msg_receive returns true
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28197&edit=1