Basic HTML version of Foils prepared Sept 21 1998

Foil 8 Moving out of a Blocked State

From Java Tutorial 98- 4: Multi-Treading, Useful Java Classes, I/O and Networking NAVO Tutorial -- Sept 23 1998. by Geoffrey C. Fox, Nancy McCracken

Thread Methods for Foil 8
1 A thread must move out of a blocked state into the runnable state using the opposite of whatever put it into the blocked state:
  • If a thread has been put to sleep(), the specified timeout period must expire.
  • If a thread has been suspended, someone must call its resume() method.
  • If a thread called wait(), then someone else using the resource for which it is waiting must call notify() or notifyAll().
  • If a thread is waiting for the completion of an input or output operation, then the operation must finish.

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 Sat Nov 28 1998