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