This *seems* like the sort of thing mcl::AtomicCallback is for? It doesn't currently handle changing the callback from an active callback, but that'd be a simple matter of copy-then-unlock.
« Back to merge proposal
This *seems* like the sort of thing mcl::AtomicCallback is for? It doesn't currently handle changing the callback from an active callback, but that'd be a simple matter of copy-then-unlock.