If you are waiting for an event, execution stops until event.set()
occurs
event.wait() # waits for event.set()
Acquiring a lock only kiosks, if the lock is already purchased
lock.acquire() # first time: returns true lock.acquire() # second time: stalls until lock.release()
Both classes have different use cases. This article will help you understand the differences.
source share