Basic HTML version of Foils prepared May 19 99

Foil 31 Guarded Suspension

From Elements of Concurrent Programming in Java Tango Group Internal Technology Seminars -- Spring 99. by Lukasz Beca


For each condition that needs to be waited on, write a guarded wait loop
Ensure that every method causing state changes that affects the conditions invokes notifyAll to wake up any threads waiting for state changes



© 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