MCPcopy Create free account
hub / github.com/eclipsesource/J2V8 / acquire

Method acquire

src/main/java/com/eclipsesource/v8/V8Locker.java:44–53  ·  view source on GitHub ↗

Acquire the lock if it's currently not acquired by another thread. If it's currently held by another thread, an Error will be thrown.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

testAcquireLockerMethod · 0.95
V8LockerMethod · 0.95
runMethod · 0.80
testMultiThreadAccessMethod · 0.80
invokeMethod · 0.80
testBinarySemaphoreMethod · 0.80
runMethod · 0.80
runMethod · 0.80

Calls 2

acquireLockMethod · 0.80
getV8RuntimePtrMethod · 0.80

Tested by 7

testAcquireLockerMethod · 0.76
runMethod · 0.64
testMultiThreadAccessMethod · 0.64
invokeMethod · 0.64
testBinarySemaphoreMethod · 0.64
runMethod · 0.64