Run a callback while holding an exclusive lock for the given scope.
An exclusive lock prevents any other exclusive or shared locks from being held at the same time. Lock requests are acquired in the order they are made; consecutive shared lock requests are acquired together.
Run a callback while holding an exclusive lock for the given
scope.An exclusive lock prevents any other exclusive or shared locks from being held at the same time. Lock requests are acquired in the order they are made; consecutive shared lock requests are acquired together.