File: Swoole_Lock.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 (39 lines) | stat: -rw-r--r-- 1,651 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
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8" ?>
<class xmlns="http://xml.phpdox.net/src" full="Swoole\Lock" namespace="Swoole" name="Lock">
  <destructor name="__destruct" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Destory a Swoole memory lock."/>
      <return type="void"/>
    </docblock>
  </destructor>
  <method name="lock_read" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Lock a read-write lock for reading."/>
      <return type="void"/>
    </docblock>
  </method>
  <method name="lock" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Try to acquire the lock. It will block if the lock is not available."/>
      <return type="void"/>
    </docblock>
  </method>
  <method name="trylock_read" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Try to lock a read-write lock for reading and return straight away even the lock is not available."/>
      <return type="void"/>
    </docblock>
  </method>
  <method name="trylock" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Try to acquire the lock and return straight away even the lock is not available."/>
      <return type="void"/>
    </docblock>
  </method>
  <method name="unlock" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Release the lock."/>
      <return type="void"/>
    </docblock>
  </method>
</class>