|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-04-28 09:32 UTC] wez@php.net
[2004-04-28 14:46 UTC] neo at gothic-chat dot de
[2004-04-28 17:17 UTC] wez@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 14:00:01 2025 UTC |
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