March 2003
Intermediate to advanced
656 pages
39h 30m
English
release
L.release( )Unlocks L, which must be locked. When
L is locked, any thread may call
L
.release, not just the
thread that last locked L. When more than
one thread is waiting on L (i.e., has
called L
.acquire,
finding L locked, and is now waiting for
L to be unlocked),
release wakes up an arbitrary waiting thread. The
thread that calls release is not suspended: it
remains ready and continues to execute.
Read now
Unlock full access