Searched refs:waitSem (Results 1 – 3 of 3) sorted by relevance
18 ChunkCache::ChunkCache(sem_id waitSem, size_t maxBytes) in ChunkCache() argument21 fWaitSem(waitSem) in ChunkCache()
536 sem_id waitSem = item->wait_sem; in StopPlaying() local542 if (waitSem >= 0) in StopPlaying()543 release_sem(waitSem); in StopPlaying()567 sem_id waitSem = item->wait_sem; in WaitForSound() local568 if (waitSem < 0) in WaitForSound()569 waitSem = item->wait_sem = create_sem(0, "wait for sound"); in WaitForSound()572 return acquire_sem(waitSem); in WaitForSound()
37 ChunkCache(sem_id waitSem, size_t maxBytes);