Commit graph

4 commits

Author SHA1 Message Date
Simon Cruanes
ee91fa4a45
feat util: add Aswitch and Util_atomic
for shutdown processes, it's really preferable to use level-triggered
primitives rather than edge-triggered callbacks. Switch is fairly
robust. It's named Aswitch here, "A" means atomic and is also used to
avoid name collision with Eio.

Util_atomic provides a convenience CAS loop, with backoff.
2026-01-20 00:15:19 -05:00
Simon Cruanes
e8cb0fc1ca
move interval_limiter to src/client 2026-01-20 00:15:13 -05:00
Simon Cruanes
3f98d0c484
more utils 2026-01-20 00:15:10 -05:00
Simon Cruanes
b76c90b785
feat: opentelemetry.util with various utilities 2026-01-20 00:15:10 -05:00