def acquire(self, *args, **kwargs):
with self._stat_lock:<EOL><INDENT>self._waiting += <NUM_LIT:1><EOL><DEDENT>self._lock.acquire(*args, **kwargs)<EOL>with self._stat_lock:<EOL><INDENT>self._locked = True<EOL>self._waiting -= <NUM_LIT:1><EOL><DEDENT>
Wraps Lock.acquire