diff --git a/reference/sync/syncreaderwriter/construct.xml b/reference/sync/syncreaderwriter/construct.xml index 1b049a14bf..92489f5fab 100644 --- a/reference/sync/syncreaderwriter/construct.xml +++ b/reference/sync/syncreaderwriter/construct.xml @@ -12,7 +12,7 @@ <methodsynopsis> <modifier>public</modifier> <methodname>SyncReaderWriter::__construct</methodname> <methodparam choice="opt"><type>string</type><parameter>name</parameter></methodparam> - <methodparam choice="opt"><type>bool</type><parameter>autounlock</parameter><initializer>&true;</initializer></methodparam> + <methodparam choice="opt"><type>int</type><parameter>autounlock</parameter><initializer>1</initializer></methodparam> </methodsynopsis> <para> Constructs a named or unnamed reader-writer object. @@ -35,6 +35,11 @@ error message. </para> </note> + <note> + <simpara> + On Windows, <parameter>name</parameter> must not contain backslashes. + </simpara> + </note> </listitem> </varlistentry> <varlistentry>