Specifications
Sun Services
Java™ Programming Language
Module 13, slide 12 of 37
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
Basic Control of Threads
• Test threads:
isAlive()
• Access thread priority:
getPriority()
setPriority()
• Put threads on hold:
Thread.sleep() // static method
join()
Thread.yield() // static method










