This could be referred to as from any process or thread, not onlythe course of or thread which originally acquired the lock. With the block argument set to False, the strategy 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