Arc Cross Reference

atomic

[procedure] atomic-invoke thunk

[macro] atomic body ...

[macro] atlet var val body ...

[macro] atwith (var val ...) body ...

[macro] atwiths (var val ...) body ...

atomic-invoke executes thunk while ensuring that no other thread executes atomic-invoke at the same time.

The rest of utility macros are wrappers to wrap do, let, with and withs form with atomic-invoke.

See also thread.