当前位置:网站首页>Status of the thread
Status of the thread
2022-07-04 06:57:00 【No trace after wind 2018】
State of thread
Java In the thread 7 States
- newly build (NEW): A new thread object is created , But it's not called yet start() Method start up .
- Can run (RUNNABLE):Java The thread will be ready (ready) And in the operation of the (running) The two states are generally called “ function ”. After the thread object is created , Other threads ( such as main Threads ) Called the object's start() Method . The thread in this state is in the runnable thread pool , Waiting to be selected by thread scheduling , obtain CPU Right to use , It's in a ready state (ready). The thread in the ready state is getting CPU After the time slice, it becomes the running state (running).
- Blocking (BLOCKED): Indicates that the thread is blocked by a lock .
- wait for (WAITING): A thread entering this state needs to wait for some specific action from another thread ( Notification or interruption ).
- Overtime waiting (TIMED_WAITING): This state is different from WAITING, It can return on its own after a specified time .
- End (TERMINATED): Indicates that the thread has finished executing .
State transition diagram of thread

边栏推荐
- 《国民经济行业分类GB/T 4754—2017》官网下载地址
- GoogleChromePortable 谷歌chrome浏览器便携版官网下载方式
- tars源码分析之4
- Tar source code analysis 6
- About how idea sets up shortcut key sets
- Displaying currency in Indian numbering format
- Mobile adaptation: vw/vh
- 【MySQL】数据库视图的介绍、作用、创建、查看、删除和修改(附练习题)
- [network data transmission] FPGA based development of 100M / Gigabit UDP packet sending and receiving system, PC to FPGA
- thread priority
猜你喜欢

Set JTAG fuc invalid to normal IO port

Uniapp applet subcontracting

响应式移动Web测试题
![[number theory] fast power (Euler power)](/img/1e/5d032c8f2e43f553b4543d28ea2a2d.jpg)
[number theory] fast power (Euler power)

《剑指Offer》第2版——力扣刷题
![[GF (q) + LDPC] regular LDPC coding and decoding design and MATLAB simulation based on the GF (q) field of binary graph](/img/5e/7ce21dd544aacf23b4ceef1ec547fd.png)
[GF (q) + LDPC] regular LDPC coding and decoding design and MATLAB simulation based on the GF (q) field of binary graph

The cloud native programming challenge ended, and Alibaba cloud launched the first white paper on application liveliness technology in the field of cloud native

Can the out of sequence message complete TCP three handshakes

Selenium ide plug-in download, installation and use tutorial

颈椎、脚气
随机推荐
Cochez une colonne d'affichage dans une colonne de tableau connue
Option (024) - do all objects have prototypes?
Tar source code analysis Part 2
Tar source code analysis 8
Tar source code analysis 4
Paddleocr prompt error: can not import AVX core while this file exists: xxx\paddle\fluid\core_ avx
在已经知道表格列勾选一个显示一列
Latex中的单引号,双引号如何输入?
The final week, I split
MySQL 45 learning notes (XI) how to index string fields
MySQL 45 lecture learning notes (x) force index
校园网络问题
Tar source code analysis 6
Deep profile data leakage prevention scheme
《剑指Offer》第2版——力扣刷题
MySQL 45 lecture learning notes (XIV) count (*)
tcp socket 的 recv 如何接收指定长度消息?
【网络数据传输】基于FPGA的百兆网/兆网千UDP数据包收发系统开发,PC到FPGA
leetcode825. 适龄的朋友
金盾视频播放器拦截的软件关键词和进程信息