Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson committed Jan 23, 2023
1 parent bc6daf6 commit 75645a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/kernel/doc/src/file.xml
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@
<p>If the file is already locked with the same lock type this is a "noop".</p>
<p>On Unix this function uses <c>flock(2)</c> syscall.</p>
<p>On Windows this function uses <c>LockFileEx</c> win32 API call</p>
<p>Notice that on Unix the lock is advisory only. On Windows it not
advisory and will block non compatible IO operations.</p>
<p>Notice that unless option <c>non_blocking</c> was
set, <c>lock/2</c> may block if the file is already locked by
some other operating system process with an incompatible lock type.</p>
Expand Down

0 comments on commit 75645a3

Please sign in to comment.