Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python locks

import threading

lock = threading.Lock()

lock.acquire()
# Do stuff
lock.release()
 
PREVIOUS NEXT
Tagged: #python #locks
ADD COMMENT
Topic
Name
4+7 =