Specifications

Sun Services
Java™ Programming Language
Module 13, slide 27 of 37
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
Thread State Diagram With wait and notify
Blocked in
Object’s
Wait Pool
notify()
or
Blocked in
Object’s
Lock Pool
Runnable
New
Dead
Running
Scheduler
Blocked
Unblocked Event Blocked
run()
Completes
Lock Acquired
Synchronized
interrupt()
wait()
[Must have lock]/
Releases lock
start()