MCPcopy Create free account
hub / github.com/careercup/ctci / first

Method first

java/Chapter 16/Question16_5/Foo.java:24–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 }
23
24 public void first() {
25 try {
26 System.out.println("Started Executing 1");
27 Thread.sleep(pauseTime);
28 System.out.println("Finished Executing 1");
29 sem1.release();
30 } catch (Exception ex) {
31 ex.printStackTrace();
32 }
33 }
34
35 public void second() {
36 try {

Callers 1

runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected