Java线程的几种状态.docx
《Java线程的几种状态.docx》由会员分享,可在线阅读,更多相关《Java线程的几种状态.docx(4页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、123456789101112131415161718192021222324252627中定义的集中Java线程的状态:/* A thread state. A thread can be in one of the following states:* * link #NEW* A thread that has not yet started is in this state.* * link ttRUNNABLE* A thread executing in the Java virtual machine is in this state.* * link ttBLOCKED)* A
2、 thread that is blocked waiting for a monitor lock* is in this state.* * link ttWAITING* A thread that is waiting indefinitely for another thread to* perform a particular action is in this state.* * link #TIMED_WAITING* A thread that is waiting for another thread to perform an action* for up to a sp
3、ecified waiting time is in this state.* * link ttTERMINATED* A thread that has exited is in this state.* * * 28 * A thread can be in only one state at a given point in time.29 * These states are virtual machine states which do not reflect* any operating system thread states.30 * since 1. 531 * see t
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Java 线程 状态
限制150内