limbo/core/io
Pekka Enberg 37866e74e5
Merge 'core/io: Ensure callbacks are invoked once' from Pedro Muniz
Add a `Once` object to uphold this property. We cannot use the OnceLock
to dictate this, because if we set the OnceLock before actually calling
the callback, there is a moment in time where we will have an incorrect
transient state. This change ensures we atomically call the callback and
then set the OnceLock
Should fix #3217
Closes #3217

Closes #3237
2025-09-22 11:44:39 +03:00
..
clock.rs modify semantics of busy_timeout to be more on par with sqlite 2025-09-15 02:20:32 -03:00
common.rs O_DIRECT disable on WAL 2024-11-13 13:45:42 +00:00
generic.rs core: Rename IO::run_once() to IO::step() 2025-09-10 14:36:02 +03:00
io_uring.rs core: Rename IO::run_once() to IO::step() 2025-09-10 14:36:02 +03:00
memory.rs remove some unnecessary unsafe impls 2025-09-21 13:29:59 -03:00
mod.rs only ever call callbacks once 2025-09-21 14:36:18 -03:00
unix.rs remove some unnecessary unsafe impls 2025-09-21 13:29:59 -03:00
vfs.rs core: Rename IO::run_once() to IO::step() 2025-09-10 14:36:02 +03:00
windows.rs core: Rename IO::run_once() to IO::step() 2025-09-10 14:36:02 +03:00