public class SpinLock extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
SpinLock.Guard |
| Modifier and Type | Field and Description |
|---|---|
static int |
SPIN_TRIES |
| Constructor and Description |
|---|
SpinLock() |
| Modifier and Type | Method and Description |
|---|---|
SpinLock.Guard |
guardedWait() |
void |
release() |
void |
waitForLock() |
public static final int SPIN_TRIES
public SpinLock.Guard guardedWait()
public final void waitForLock()
public final void release()
Copyright © 2018. All rights reserved.