File: SyncSemaphore.xml

package info (click to toggle)
phpdox 0.12.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 7,672 kB
  • sloc: xml: 80,724; php: 9,167; makefile: 13
file content (26 lines) | stat: -rw-r--r-- 1,274 bytes parent folder | download | duplicates (2)
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>