From a0272c2d615e4579e8efb767cc6c28302b2c92cd Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 24 Sep 2008 07:14:11 +0200 Subject: notify: added notify_deinit() Destroy the mutex when it is not used anymore. --- src/notify.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/notify.h') diff --git a/src/notify.h b/src/notify.h index 0f3b4c1bc..e727a0a34 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. -- cgit v1.2.3