aboutsummaryrefslogtreecommitdiff
path: root/src/notify.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-24 07:14:11 +0200
committerMax Kellermann <max@duempel.org>2008-09-24 07:14:11 +0200
commita0272c2d615e4579e8efb767cc6c28302b2c92cd (patch)
treef8868d8df4a4fd6defbb17db3d5d438903cbeff5 /src/notify.h
parentee1d723ad7ec94e0db09ae8bab61a8952bfaaa32 (diff)
notify: added notify_deinit()
Destroy the mutex when it is not used anymore.
Diffstat (limited to 'src/notify.h')
-rw-r--r--src/notify.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/notify.h b/src/notify.h
index 0f3b4c1b..e727a0a3 100644
--- a/src/notify.h
+++ b/src/notify.h
@@ -29,6 +29,8 @@ typedef struct notify {
void notify_init(struct notify *notify);
+void notify_deinit(struct notify *notify);
+
/**
* The thread which shall be notified by this object must call this
* function before any notify_wait() invocation. It locks the mutex.