Skip to content

submodule: bump coffeecatch to f629a666 - #166

Merged
xroche merged 1 commit into
masterfrom
coffeecatch-pin-f629a666
Aug 24, 2026
Merged

submodule: bump coffeecatch to f629a666#166
xroche merged 1 commit into
masterfrom
coffeecatch-pin-f629a666

Conversation

@xroche

@xroche xroche commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Bumps the coffeecatch submodule to f629a666. Docs and tests only: coffeecatch.c and coffeejni.c are byte-identical between the two pins, and the four objects Android builds from them hash the same on arm64-v8a and x86_64, so the shipped library does not change.

The header now records that a process has one alarm(): arming your own over an uncancelled watchdog replaces it, and the cancel then disarms yours. That came out of reviewing #165, where the teardown path looked like it leaked the pending flag. It turned out to be a constraint of the single process alarm rather than a defect, so what changed is the documented promise.

Three tests come with it, all of which the suite used to pass without: the watchdog is a real timer and not just a flag, a cancel owed after COFFEE_END() survives an unrelated session on another thread, and the documented -1 return.

Docs and tests only. coffeecatch.c and coffeejni.c are unchanged between the
two pins, and the four objects Android builds from them hash identically on
arm64-v8a and x86_64, so the shipped library is the same bytes.

The header now records that a process has one alarm(): arming your own over
an uncancelled watchdog replaces it, and the cancel then disarms yours. That
came out of reviewing the previous bump, where the teardown path looked like
it leaked the pending flag. It is a constraint rather than a defect, so the
fix is what the call can promise, not the code.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Xavier Roche <roche@httrack.com>
@xroche
xroche enabled auto-merge (squash) August 24, 2026 19:11
@xroche
xroche merged commit e4341c0 into master Aug 24, 2026
6 checks passed
@xroche
xroche deleted the coffeecatch-pin-f629a666 branch August 24, 2026 19:12
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