]> sourceware.org Git - newlib-cygwin.git/commitdiff
* posix.sgml (std-notes): Change description of flock restrictions.
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 30 Mar 2012 11:29:57 +0000 (11:29 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 30 Mar 2012 11:29:57 +0000 (11:29 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/posix.sgml
winsup/cygwin/release/1.7.12

index 1c632eb5811ddcab7da224b448c2bd0ea8da454e..84110b2e21288026ef9705a4ed36f3013602b2e3 100644 (file)
@@ -1,3 +1,7 @@
+2012-03-30  Corinna Vinschen  <corinna@vinschen.de>
+
+       * posix.sgml (std-notes): Change description of flock restrictions.
+
 2012-03-30  Corinna Vinschen  <corinna@vinschen.de>
 
        * devices.h (DEV_TTY_MAJOR): Define, use throughout where appropriate.
index 5bb27d7c7ce405ff410f0ab91ad8b5ae2d2ea673..5e5df463be32a00e0b5d158e22f82476d59bad7b 100644 (file)
@@ -1457,10 +1457,11 @@ CLOCK_REALTIME and CLOCK_MONOTONIC.  <function>clock_setres</function>,
 <function>clock_settime</function>, and <function>timer_create</function>
 currently support only CLOCK_REALTIME.</para>
 
-<para>BSD file locks created via <function>flock</function> are not
-propagated to the parent process and sibling processes.  The locks are
-only valid in the creating process and subsequently started child processes
-sharing the same file descriptor.</para>
+<para>BSD file locks created via <function>flock</function> are only
+propagated to the direct parent process, not to grand parents or sibling
+processes.  The locks are only valid in the creating process, its parent,
+and subsequently started child processes sharing the same file descriptor.
+</para>
 
 <para><function>fpclassify</function>, <function>isfinite</function>,
 <function>isgreater</function>, <function>isgreaterequal</function>,
index f81cbf1bba447ac2b1f3b5010d54a46528048423..4072ad31e6fe263367e07830999dfd5b53981bd2 100644 (file)
@@ -5,3 +5,17 @@ What's new:
   existing POSIX devices.
 
 - Add virtual /proc/PID/mountinfo file.
+
+- flock now additionaly supports the following scenario, which requires
+  to propagate locks to the parent process:
+
+    (
+      flock -n 9 || exit 1
+      # ... commands executed under lock ...
+    } 9>/var/lock/mylockfile
+
+  Only propagation to the direct parent process is supported so far,
+  not to grand parents or sibling processes.
+
+- Add a "detect_bloda" setting for the CYGWIN environment variable to help
+  finding potential BLODAs.
This page took 0.036141 seconds and 5 git commands to generate.