Basic HTML version of Foils prepared
May 19 99
Foil 16 Waiting and Notification
From
Elements of Concurrent Programming in Java Tango Group Internal Technology Seminars --
Spring 99
.
by
Lukasz Beca
1
Methods wait, notify and notifyAll can be invoked only when the synchronization lock is held on their targets
2
wait - resulting actions
suspend current thread
place thread on the wait queue
release lock for the target object (all other locks retained)
in Table To:
©
Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu
If you have any comments about this server, send e-mail to
webmaster@npac.syr.edu
.
Page produced by
wwwfoil
on Wed May 19 1999