PHP Cond::destroy() Function
Cond::destroy() function can destroy a condition.
Syntax
final public static boolean Cond::destroy( long $condition )
Cond::destroy() function destroying Condition Variable handles must be carried out explicitly by the programmer when they are finished with a Condition Variable. No Threads can be blocking on a call to Cond::wait() when a call to Cond::destroy() function takes place.
Cond::destroy() function can return a boolean indication of success.
Example
<?php $cond = Cond::create(); var_dump($cond); Cond::destroy($cond); ?>
php_function_reference.htm
Advertisements