#28197 [Opn->Fbk]: msg_receive doesn't block

From: Date: Wed, 28 Apr 2004 07:32:46 +0000
Subject: #28197 [Opn->Fbk]: msg_receive doesn't block
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-58925@lists.php.net to get a copy of this message
ID: 28197 Updated by: wez@php.net 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

« previous php.bugs (#58925) next »