Critical sections
lock.acquire()
try:
"this is the critical section"
"it may raise an exception..."
finally:
lock.release()
Previous slide
Next slide
Back to first slide
View graphic version