out.txt
来自「利用Java的多线程技术实现并行多任务的管理」· 文本 代码 · 共 37 行
TXT
37 行
============================================
线程组group01中的线程有:
java.lang.ThreadGroup[name=ThreadGroup01,maxpri=4]
Thread[Query01,4,ThreadGroup01]
Thread[Query02,4,ThreadGroup01]
Thread[Query03,4,ThreadGroup01]
线程组group02中的线程有:
java.lang.ThreadGroup[name=ThreadGroup02,maxpri=10]
Thread[Transaction01,5,ThreadGroup02]
Thread[Transaction02,5,ThreadGroup02]
============================================
Thread[Transaction01,5,ThreadGroup02]运行,次数是:1
Thread[Transaction01,5,ThreadGroup02]运行,次数是:2
Thread[Transaction02,5,ThreadGroup02]运行,次数是:1
Thread[Transaction02,5,ThreadGroup02]运行,次数是:2
Thread[Query03,4,ThreadGroup01]运行,次数是:1
Thread[Transaction02,5,ThreadGroup02]运行,次数是:3
Thread[Transaction01,5,ThreadGroup02]运行,次数是:3
Thread[Transaction01,5,ThreadGroup02]运行,次数是:4
Thread[Query02,4,ThreadGroup01]运行,次数是:1
Thread[Transaction02,5,ThreadGroup02]运行,次数是:4
Thread[Query03,4,ThreadGroup01]运行,次数是:2
Thread[Query01,4,ThreadGroup01]运行,次数是:1
Thread[Query02,4,ThreadGroup01]运行,次数是:2
Thread[Transaction01,5,ThreadGroup02]运行,次数是:5
Thread[Transaction02,5,ThreadGroup02]运行,次数是:5
Thread[Query02,4,ThreadGroup01]运行,次数是:3
Thread[Query03,4,ThreadGroup01]运行,次数是:3
Thread[Query01,4,ThreadGroup01]运行,次数是:2
Thread[Query01,4,ThreadGroup01]运行,次数是:3
Thread[Query03,4,ThreadGroup01]运行,次数是:4
Thread[Query01,4,ThreadGroup01]运行,次数是:4
Thread[Query02,4,ThreadGroup01]运行,次数是:4
Thread[Query03,4,ThreadGroup01]运行,次数是:5
Thread[Query02,4,ThreadGroup01]运行,次数是:5
Thread[Query01,4,ThreadGroup01]运行,次数是:5
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?