1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
<?xml version="1.0" encoding="UTF-8" ?>
<class xmlns="http://xml.phpdox.net/src" full="SyncSemaphore" namespace="" name="SyncSemaphore">
<constructor name="__construct" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Constructs a new SyncSemaphore object"/>
<return type="void"/>
</docblock>
<parameter name="name" optional="true" byreference="false" type="string"/>
<parameter name="initialval" optional="true" byreference="false" type="int"/>
<parameter name="autounlock" optional="true" byreference="false" type="object" class="bool"/>
</constructor>
<method name="lock" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Decreases the count of the semaphore or waits"/>
<return type="bool"/>
</docblock>
<parameter name="wait" optional="true" byreference="false" type="int"/>
</method>
<method name="unlock" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Increases the count of the semaphore"/>
<return type="bool"/>
</docblock>
<parameter name="prevcount" optional="true" byreference="false" type="int"/>
</method>
</class>
|