mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Fix param order in example
Patch by Michael Bright git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333218 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
4760cef0ed
commit
02a5c4fd3e
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ $mutex = Mutex::create(true);
|
|||
/** You cannot use the "new" keyword, a Cond is not a PHP object **/
|
||||
$cond = Cond::create();
|
||||
/** The caller must lock the associated Mutex before a call to broadcast **/
|
||||
var_dump(Cond::wait($mutex, $cond));
|
||||
var_dump(Cond::wait($cond, $mutex));
|
||||
/** Always destroy Cond you have created **/
|
||||
Cond::destroy($cond);
|
||||
Mutex::unlock($mutex);
|
||||
|
|
Loading…
Reference in a new issue