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

Method third

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

Source from the content-addressed store, hash-verified

46 }
47
48 public void third() {
49 try {
50 sem2.acquire();
51 sem2.release();
52 System.out.println("Started Executing 3");
53 Thread.sleep(pauseTime);
54 System.out.println("Finished Executing 3");
55 } catch (Exception ex) {
56 ex.printStackTrace();
57 }
58 }
59}

Callers 1

runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected