⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 out.txt

📁 利用Java的多线程技术实现并行多任务的管理
💻 TXT
字号:
============================================
线程组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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -