diff options
-rw-r--r-- | src/core/SkSemaphore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkSemaphore.cpp b/src/core/SkSemaphore.cpp index 3f19d4fa12..ac62930082 100644 --- a/src/core/SkSemaphore.cpp +++ b/src/core/SkSemaphore.cpp @@ -13,7 +13,7 @@ semaphore_t fSemaphore; OSSemaphore() { - semaphore_create(mach_task_self(), &fSemaphore, SYNC_POLICY_FIFO, 0/*initial count*/); + semaphore_create(mach_task_self(), &fSemaphore, SYNC_POLICY_LIFO, 0/*initial count*/); } ~OSSemaphore() { semaphore_destroy(mach_task_self(), fSemaphore); } |