Searched refs:emptyCount (Results 1 – 1 of 1) sorted by relevance
39 deSemaphore emptyCount; member64 ringbuffer->emptyCount = deSemaphore_create(ringbuffer->blockCount, DE_NULL); in deRingbuffer_create()69 !ringbuffer->emptyCount || in deRingbuffer_create()72 if (ringbuffer->emptyCount) in deRingbuffer_create()73 deSemaphore_destroy(ringbuffer->emptyCount); in deRingbuffer_create()105 deSemaphore_destroy(ringbuffer->emptyCount); in deRingbuffer_destroy()137 deSemaphore_decrement(ringbuffer->emptyCount); in producerStream_write()256 deSemaphore_increment(ringbuffer->emptyCount); in consumerStream_read()