MCPcopy Create free account
hub / github.com/e2wugui/zeze / ThreadTask

Class ThreadTask

ZezeJava/ZezeJavaTest/src/Temp/TestThreadPool.java:34–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 }
33
34 public static class ThreadTask implements Runnable {
35 public ThreadTask() {
36 }
37
38 @Override
39 public void run() {
40 try {
41 Thread.sleep(15);
42 Thread.sleep(15);
43 add();
44 tryNotifyAdd();
45
46 } catch (InterruptedException e) {
47 e.printStackTrace();
48 }
49 }
50 }
51
52 public static void main(String[] args) throws InterruptedException {
53 threadPool = new ThreadPoolExecutor(ThreadCount, ThreadCount, 0L,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected