Added description for the isglobal parameter in wincache_lock API.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298245 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Ruslan Yakushev 2010-04-21 05:17:42 +00:00
parent 3f417d1215
commit d87fd4956e

View file

@ -12,6 +12,7 @@
<methodsynopsis>
<type>bool</type><methodname>wincache_lock</methodname>
<methodparam><type>string</type><parameter>key</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>isglobal</parameter><initializer>false</initializer></methodparam>
</methodsynopsis>
<para>
Obtains an exclusive lock on a given key. The execution of the current script will be blocked until the
@ -39,6 +40,15 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>isglobal</parameter></term>
<listitem>
<para>
Controls whether the scope of the lock is system-wide or local. Local locks are scoped to the application pool
in IIS FastCGI case or to all php processes that have the same parent process identifier.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>