onRemove() and process()?

Does anyone know the time between the last process() call to a pending onRemove() as I was wondering about a lock-free algorithm with a Module == self test for master selection? It likely isn’t that simple, but the exiting master can decide by being the master singleton to set another copy as the master.onRemove(). Essentially the singleton master would copy the lock token in effect.

bool ask(module, anon_closure); would be a wait(ask()); loop?