diff options
Diffstat (limited to 'src/notify.h')
-rw-r--r-- | src/notify.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/notify.h b/src/notify.h index f79518f8f..0fbc74479 100644 --- a/src/notify.h +++ b/src/notify.h @@ -27,34 +27,34 @@ typedef struct _Notify { int pending; } Notify; -int notifyInit(Notify *notify); +int notify_init(Notify *notify); /** * The thread which shall be notified by this object must call this - * function before any notifyWait() invocation. It locks the mutex. + * function before any notify_wait() invocation. It locks the mutex. */ -void notifyEnter(Notify *notify); +void notify_enter(Notify *notify); /** - * Neutralize notifyLeave(). + * Neutralize notify_leave(). */ -void notifyLeave(Notify *notify); +void notify_leave(Notify *notify); /** * Wait for a notification. Return immediately if we have already - * been notified since we last returned from notifyWait(). + * been notified since we last returned from notify_wait(). */ -void notifyWait(Notify *notify); +void notify_wait(Notify *notify); /** * Notify the thread. This function never blocks. */ -void notifySignal(Notify *notify); +void notify_signal(Notify *notify); /** * Notify the thread synchonously, i.e. wait until it has received the * notification. */ -void notifySignalSync(Notify *notify); +void notify_signal_sync(Notify *notify); #endif |