MCPcopy Index your code
hub / github.com/apache/groovy / run

Method run

benchmark/bench/threadring.java:23–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 }
22
23 public void run() {
24 for(;;){ // Scheduler will run foerever
25 CooperativeThread nextThread;
26 synchronized (threads){
27 rrIndex++;
28 if(rrIndex >= threads.size()) rrIndex = 0;
29 nextThread = threads.get(rrIndex);
30 }
31 nextThread.handleMessage();
32 }
33 }
34 }
35
36 static abstract class CooperativeThread{

Callers

nothing calls this directly

Calls 3

handleMessageMethod · 0.95
sizeMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected