fNotify
sem_id fNotify;
fNotify = status;
fNotify = create_sem(0, name);
delete_sem(fNotify);
return fNotify >= 0 ? B_OK : fNotify;
release_sem_etc(fNotify, 0, B_RELEASE_ALL);
release_sem_etc(fNotify, 1, B_RELEASE_IF_WAITING_ONLY
status_t status = acquire_sem_etc(fNotify, 1, B_CAN_INTERRUPT
release_sem_etc(fNotify, 1, B_RELEASE_IF_WAITING_ONLY
bool fNotify;
bool fNotify;
if (!fNotify)
if (fNotify) {
fNotify(-1),
fNotify = create_sem(0, "EDU Interrupt Callback");
if (fNotify < B_OK) {
TRACE_ERROR("edu_init_device(): Error creating semaphore: %s\n", strerror(fNotify));
return fNotify;
if (fNotify >= B_OK)
delete_sem(fNotify);
acquire_sem(fNotify);
acquire_sem(fNotify);
sem_id Notify() const { return fNotify; };
sem_id fNotify;