PHP » GoLang |
login |
register |
about
|
GoLang Threaded::notifyOne
request it (406)
GoLang replacement for PHP's Threaded::notifyOne
[edit | history]
Threaded::notifyOne(PECL pthreads >= 3.0.0) Threaded::notifyOne — Synchronization Description
public bool Threaded::notifyOne
( void
)
Send notification to the referenced object. This unblocks at least one of the blocked threads (as opposed to unblocking all of them, as seen with Threaded::notify()). ParametersThis function has no parameters. Return ValuesA boolean indication of success Examples
Example #1 Notifications and Waiting
<?php The above example will output: bool(true) |
more
Recently updated
more
Most requested
more
Last requests
|