note 114662 added to threaded.synchronized
| From: | john dot wellesz at teaser dot fr | Date: | Wed, 19 Mar 2014 13:22:15 +0000 |
| Subject: | note 114662 added to threaded.synchronized | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-198980@lists.php.net to get a copy of this message | ||
Threaded::synchronized() allows you to safely set or read synchronization conditions and act upon
them (using ::wait() and ::notify()) knowing that only one call to synchronized() on the referenced
object can be executed at a particular time, other calls from different thread contexts will block
until the path is cleared by a call to ::wait() inside your ::Synchronized() closure.
----
Server IP: 72.52.91.14
Probable Submitter: 78.203.110.56
----
Manual Page -- http://php.net/manual/en/threaded.synchronized.php
Edit -- https://master.php.net/note/edit/114662
Del: integrated -- https://master.php.net/note/delete/114662/integrated
Del: useless -- https://master.php.net/note/delete/114662/useless
Del: bad code -- https://master.php.net/note/delete/114662/bad+code
Del: spam -- https://master.php.net/note/delete/114662/spam
Del: non-english -- https://master.php.net/note/delete/114662/non-english
Del: in docs -- https://master.php.net/note/delete/114662/in+docs
Del: other reasons-- https://master.php.net/note/delete/114662
Reject -- https://master.php.net/note/reject/114662
Search -- https://master.php.net/manage/user-notes.php