aboutsummaryrefslogtreecommitdiffstats
path: root/src/condition.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-12-29 17:28:09 +0100
committerMax Kellermann <max@duempel.org>2008-12-29 17:28:09 +0100
commitb5c5a6b4c7e7e2e97a3d68cfd36b1e20b46ad592 (patch)
tree2414b0e60907ce6f0a0d6c29842a06ff5309d725 /src/condition.h
parent0d8ba194beff2214791ffdbc11b4c088dceca514 (diff)
downloadmpd-b5c5a6b4c7e7e2e97a3d68cfd36b1e20b46ad592.tar.gz
mpd-b5c5a6b4c7e7e2e97a3d68cfd36b1e20b46ad592.tar.xz
mpd-b5c5a6b4c7e7e2e97a3d68cfd36b1e20b46ad592.zip
condition: removed cond_timedwait() and cond_signal_async()
These methods are unused.
Diffstat (limited to 'src/condition.h')
-rw-r--r--src/condition.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/condition.h b/src/condition.h
index 521e61daa..3bfba1981 100644
--- a/src/condition.h
+++ b/src/condition.h
@@ -47,22 +47,6 @@ void cond_leave(struct condition *cond);
void cond_wait(struct condition *cond);
/**
- * Wait for a condition with timeout
- *
- * @param sec number of seconds to wait for (subject to change)
- *
- * @return ETIMEDOUT if timed out, 0 if notification was received
- */
-int cond_timedwait(struct condition *cond, const long sec);
-
-/**
- * Notify the thread there is a waiter. This function never blocks.
- *
- * @return EBUSY if it was unable to lock the mutex, 0 on success
- */
-int cond_signal_async(struct condition *cond);
-
-/**
* Notify the thread synchronously, i.e. wait until it can deliver
* the notification.
*/