• Joined on 2025年09月18日
stund pushed to master at stund/fibers 2026年01月19日 20:47:00 +01:00
258ad6fb48
Update NEWS.
e850f110c8
operations: Thread-safe cancels of timers and port waiters.
b19bfa279f
tests: Increase parallelism on cancel tests.
2779372aad
doc: Include generated ‘version.texi’.
Compare 4 commits »
stund commented on pull request shepherd/shepherd#101 2026年01月17日 14:23:58 +01:00
WIP: service: ‘sleep-operation/check’ no longer uses ‘timer-operation’.

There may be some implications for behavior, though.

stund commented on pull request shepherd/shepherd#101 2026年01月14日 16:40:11 +01:00
WIP: service: ‘sleep-operation/check’ no longer uses ‘timer-operation’.

sleep-operation/check (and the overslept option of get-message*) may become obsolete once Fibers is using monotonic timers. The only Shepherd code that distinguishes the overslept case is:

stund commented on pull request guile/fibers#163 2026年01月13日 19:28:30 +01:00
Thread-safe cancels of timers and port waiters

Updated the PR to (re-)initialize the op's internal state in the try-fn.

stund commented on pull request guile/fibers#163 2026年01月13日 19:26:03 +01:00
Thread-safe cancels of timers and port waiters

Updated the PR, adding a definition of "nack" to the make-base-operation/internal docstring.

stund commented on pull request guile/fibers#163 2026年01月13日 19:20:25 +01:00
Thread-safe cancels of timers and port waiters

I opted to remove this particular change from the PR. It's not strictly necessary for the implementations of timer and port waiter cancellation.

stund pushed to safer-cancellation at stund/fibers 2026年01月13日 19:07:33 +01:00
8e896e12f6 operations: Thread-safe cancels of timers and port waiters.
stund commented on issue guile/fibers#89 2026年01月12日 23:35:30 +01:00
High CPU usage on system time change

Fair enough, though I'd be hard-pressed to explain the semantics of get-internal-real-time, other than based on the implementation. The documentation says:

stund commented on pull request guile/fibers#163 2026年01月12日 20:57:50 +01:00
Thread-safe cancels of timers and port waiters
stund commented on pull request guile/fibers#163 2026年01月12日 18:56:48 +01:00
Thread-safe cancels of timers and port waiters

Indeed, Racket's alarm-evt seems equivalent to Fiber's timer-operation. The latter is what a call to sleep-operation actually constructs and returns (though this is not obvious, and may not...

stund commented on issue guile/fibers#89 2026年01月11日 03:38:07 +01:00
High CPU usage on system time change

Hey @civodul,

stund commented on issue guile/fibers#89 2025年12月26日 18:36:06 +01:00
High CPU usage on system time change

Relying on get-internal-real-time can cause other interesting failures, like negative time values.

stund commented on issue guile/fibers#89 2025年12月26日 14:16:02 +01:00
High CPU usage on system time change
stund commented on pull request guile/fibers#163 2025年12月19日 17:13:49 +01:00
Thread-safe cancels of timers and port waiters

I added this because, in the general sense, it is indeed a case where the other operations were not (or will not be) chosen.

stund commented on pull request guile/fibers#163 2025年12月19日 17:13:42 +01:00
Thread-safe cancels of timers and port waiters

NACK is certainly jargon, though as the the Fibers manual says:

stund commented on pull request guile/fibers#163 2025年12月19日 17:13:36 +01:00
Thread-safe cancels of timers and port waiters

Thanks for taking the time to look at all this, @civodul.

stund commented on issue guile/fibers#89 2025年12月18日 19:37:38 +01:00
High CPU usage on system time change
stund created pull request guile/fibers#163 2025年12月18日 15:24:40 +01:00
Thread-safe cancels of timers and port waiters
stund pushed to safer-cancellation at stund/fibers 2025年12月18日 14:58:11 +01:00
a697b04514 operations: Thread-safe cancels of timers and port waiters.
252976872c tests: Increase parallelism on cancel tests.
Compare 2 commits »
stund created branch safer-cancellation in stund/fibers 2025年12月18日 14:58:10 +01:00