MCPcopy Create free account
hub / github.com/Beerkay/JavaMultiThreading / Worker

Class Worker

JavaMultiThreadingCodes/src/LockObjects_4/Worker.java:26–99  ·  view source on GitHub ↗

Multiple locks to speed up complex multi-threaded code. Define shared objects: list1 and list2 then synchronize these objects. Mainly discussing making the method synchronized or making an object inside the method synchronized, By defining two different locks we say that one thread may execute the s

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected