From b5c5a6b4c7e7e2e97a3d68cfd36b1e20b46ad592 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 29 Dec 2008 17:28:09 +0100 Subject: condition: removed cond_timedwait() and cond_signal_async() These methods are unused. --- src/condition.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/condition.h') diff --git a/src/condition.h b/src/condition.h index 521e61daa..3bfba1981 100644 --- a/src/condition.h +++ b/src/condition.h @@ -46,22 +46,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. -- cgit v1.2.3