[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/pthreads/cond/_wait.xml?=
From: Peter_Cowburn <salathe () php ! net>
Date: 2014-03-29 21:56:47
Message-ID: svn-salathe-1396130207-333218-375653441 () svn ! php ! net
[Download RAW message or body]
salathe Sat, 29 Mar 2014 21:56:47 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=333218
Log:
Fix param order in example
Patch by Michael Bright
Changed paths:
U phpdoc/en/trunk/reference/pthreads/cond/wait.xml
Modified: phpdoc/en/trunk/reference/pthreads/cond/wait.xml
===================================================================
--- phpdoc/en/trunk/reference/pthreads/cond/wait.xml 2014-03-29 21:56:43 UTC (rev 333217)
+++ phpdoc/en/trunk/reference/pthreads/cond/wait.xml 2014-03-29 21:56:47 UTC (rev 333218)
@@ -73,7 +73,7 @@
/** 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);
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic