public final class PthreadVMLockSupport extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.oracle.svm.core.posix.pthread.PthreadVMCondition[] |
conditions
All conditions, so that we can initialize them at run time when the VM starts.
|
protected com.oracle.svm.core.posix.pthread.PthreadVMMutex[] |
mutexes
All mutexes, so that we can initialize them at run time when the VM starts.
|
protected byte[] |
pthreadStructs
Raw memory for the pthread lock structures.
|
| Constructor and Description |
|---|
PthreadVMLockSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
checkResult(int result,
String functionName) |
static boolean |
initialize()
Must be called once early during startup, before any mutex or condition is used.
|
protected com.oracle.svm.core.posix.pthread.PthreadVMMutex[] mutexes
protected com.oracle.svm.core.posix.pthread.PthreadVMCondition[] conditions
protected byte[] pthreadStructs
PthreadVMMutex.structOffset and
PthreadVMCondition.structOffset.public static boolean initialize()
protected static void checkResult(int result,
String functionName)