Switch various flags from int -> bool.
kill(getpid(), foo) and raise(foo) are equivalent in this context, so
switch to the latter as a minor preference for readability.
Use proper signal fences instead of volatile for our SIGAALRM handler.
Differential D51027
lockf: minor cosmetic cleanups, no functional change kevans on Jun 24 2025, 11:21 PM. Authored by Tags None Referenced Files
Details Switch various flags from int -> bool. kill(getpid(), foo) and raise(foo) are equivalent in this context, so Use proper signal fences instead of volatile for our SIGAALRM handler.
Diff Detail
Event Timeline |