forked from OSchip/llvm-project
parent
576e270287
commit
fa67ed47e1
|
@ -249,10 +249,8 @@ int internal_sched_yield() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------------------- BlockingMutex ---------------- {{{1
|
// ---------------------- BlockingMutex ---------------- {{{1
|
||||||
enum LockState {
|
const uptr LOCK_UNINITIALIZED = 0;
|
||||||
LOCK_UNINITIALIZED = 0,
|
const uptr LOCK_READY = (uptr)-1;
|
||||||
LOCK_READY = -1,
|
|
||||||
};
|
|
||||||
|
|
||||||
BlockingMutex::BlockingMutex(LinkerInitialized li) {
|
BlockingMutex::BlockingMutex(LinkerInitialized li) {
|
||||||
// FIXME: see comments in BlockingMutex::Lock() for the details.
|
// FIXME: see comments in BlockingMutex::Lock() for the details.
|
||||||
|
|
Loading…
Reference in New Issue