Skip to content

fix: retry an interrupted non-blocking flock - #72

Merged
HaoZeke merged 1 commit into
mainfrom
fix/flock-eintr-retry
Nov 20, 2026
Merged

HaoZeke merged 1 commit into
mainfrom
fix/flock-eintr-retry

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

A signal during a non-blocking flock was treated as contention.
When the deadline had passed, a free lock was reported busy.
The call is retried, and only a contended result gives up.

A signal during a non-blocking flock was treated as contention.
When the deadline had passed, a free lock was reported busy.
The call is retried, and only a contended result gives up.
@HaoZeke
HaoZeke merged commit 49644f3 into main Nov 20, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant