method

unload_interlock

unload_interlock(&block)
public

Execute the supplied block while holding an exclusive lock, preventing any other thread from being inside a #run_interlock block at the same time.