Home
last modified time | relevance | path

Searched refs:readsemaphore (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/kernel/drivers/midi/mpu401/
H A Dmpu401.c197 mpu_device->readsemaphore = create_sem(0, semname); in midi_open()
211 if ((mpu_device->readsemaphore > B_OK) in midi_open()
236 delete_sem(mpu_device->readsemaphore); in midi_close()
290 bestat = acquire_sem_etc(mpu_device->readsemaphore, 1, in midi_read()
390 release_sem_etc(mpu_device->readsemaphore, 1, B_DO_NOT_RESCHEDULE); in interrupt_hook()
H A Dmpu401_priv.h43 sem_id readsemaphore; member