2012-04-03 Corinna Vinschen <corinna@vinschen.de>

* new-features.sgml (ov-new1.7.12): Fix layout of flock example.
This commit is contained in:
Corinna Vinschen 2012-04-03 19:16:10 +00:00
parent fba41a7c3d
commit ecdcf15712
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2012-04-03 Corinna Vinschen <corinna@vinschen.de>
* new-features.sgml (ov-new1.7.12): Fix layout of flock example.
2012-03-30 Corinna Vinschen <corinna@vinschen.de> 2012-03-30 Corinna Vinschen <corinna@vinschen.de>
* new-features.sgml (ov-new1.7.12): Fix typo. * new-features.sgml (ov-new1.7.12): Fix typo.

View File

@ -16,12 +16,12 @@ Add virtual /proc/PID/mountinfo file.
<listitem><para> <listitem><para>
flock now additionally supports the following scenario, which requires flock now additionally supports the following scenario, which requires
to propagate locks to the parent process: to propagate locks to the parent process:
<screen>
( (
flock -n 9 || exit 1 flock -n 9 || exit 1
# ... commands executed under lock ... # ... commands executed under lock ...
} 9>/var/lock/mylockfile } 9>/var/lock/mylockfile
</screen>
Only propagation to the direct parent process is supported so far, Only propagation to the direct parent process is supported so far,
not to grand parents or sibling processes. not to grand parents or sibling processes.
</para></listitem> </para></listitem>