This could be called from any course of or thread, not onlythe course of or thread which originally acquired the lock. With the block argument set to False, the method name does notblock. If the lock is at present in a locked state, return False;in any other case set the lock to a locked state and return True. If a course of is killed while it is m