Basic HTML version of Foils prepared
May 19 99
Foil 17 Waiting and Notification
From
Elements of Concurrent Programming in Java Tango Group Internal Technology Seminars --
Spring 99
.
by
Lukasz Beca
notify - resulting actions
remove arbitrary thread T from the wait queue
T must re-obtain the synchronization lock for the target object
resume T at the point of its wait
notifyAll works in the same way, but the steps occur for all threads in the wait queue
wait with time parameter - notify is invoked automatically when the specified time passes
©
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