This is most useful inside a shell script, allowing one to lock just
portions of a script rather than having to wrap the entire script in a
lock.
PR: 262738
Co-authored-by: Daniel O'Connor <darius@dons.net.au>
Sponsored by: Klara, Inc.
Differential D42718
lockf: allow locking file descriptors kevans on Nov 22 2023, 7:48 AM. Authored by Tags None Referenced Files
Details
This is most useful inside a shell script, allowing one to lock just PR: 262738
Diff Detail
Event TimelineComment Actions LGTM. The tests look good and the new logic of handling fdlock mode is also OK. I only have some feedback regarding documentation and error messages.
Comment Actions Address review commentary, add a little more explanation in the new example in
|