ZF-6622: Check for $okay should be $okay == 0 instead of $okay === 0 in _waitForIpcSemaphore

Issue Type: Bug Created: 2009-05-12T06:29:00.000+0000 Last Updated: 2011-02-18T08:20:38.000+0000 Status: Open Fix version(s): Reporter: Zeger Knops (zeger) Assignee: Ben Scholzen (dasprid) Tags: - ZendX_Console_Process_Unix

Related issues: Attachments:


Check for okay should be $okay == 0 instead of $okay === 0 in _waitForIpcSemaphore


Posted by Ben Scholzen (dasprid) on 2009-05-12T06:39:19.000+0000

Hm, looking at the documentation, it should actually be === false.

Posted by Zeger Knops (zeger) on 2009-05-14T00:51:48.000+0000

Well that won't work either since the value taken from memory is just a '0', == false will do the trick

Posted by Ben Scholzen (dasprid) on 2009-05-14T00:57:43.000+0000

Ah yeah, sorry, was confused for a moment, but we are writing "1" into the semaphore, so we should check for that if I'm not wrong.

Posted by Ralph Schindler (ralph) on 2011-02-18T08:20:38.000+0000

Any progress on this?

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.