ID:               28197
 User updated by:  neo at gothic-chat dot de
 Reported By:      neo at gothic-chat dot de
-Status:           Feedback
+Status:           Closed
 Bug Type:         Semaphore related
 Operating System: FreeBSD 5.1
 PHP Version:      4.3.4
 New Comment:

Kernel errno was 13 -> 62 #define EACCES 13 /* Permission denied */
Doubleckecked permissions, now working.
Sorry.


Previous Comments:
------------------------------------------------------------------------

[2004-04-28 09:32:45] [EMAIL PROTECTED]

And does it emit a warning or error message?

------------------------------------------------------------------------

[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

Reply via email to