8#ifndef SkSemaphore_DEFINED
9#define SkSemaphore_DEFINED
48 SK_SPI void osSignal(
int n);
53 OSSemaphore* fOSSemaphore;
57 int prev =
fCount.fetch_add(n, std::memory_order_release);
70 this->osSignal(toSignal);
77 if (
fCount.fetch_sub(1, std::memory_order_acquire) <= 0) {
static float prev(float f)
#define SK_POTENTIALLY_BLOCKING_REGION_END
#define SK_POTENTIALLY_BLOCKING_REGION_BEGIN
constexpr SkSemaphore(int count=0)
static float min(float r, float g, float b)