From dd0f8e42f386abda02490745a0f2365e9412da7b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 31 Dec 2008 00:32:56 +0100 Subject: main_notify: removed lock()/unlock() These functions are not used anymore since we use the GLib main loop. --- src/main_notify.c | 10 ---------- src/main_notify.h | 4 ---- 2 files changed, 14 deletions(-) (limited to 'src') diff --git a/src/main_notify.c b/src/main_notify.c index e9552efbc..6a5ff484e 100644 --- a/src/main_notify.c +++ b/src/main_notify.c @@ -79,16 +79,6 @@ void wakeup_main_task(void) g_error("error writing to pipe: %s", strerror(errno)); } -void main_notify_lock(void) -{ - assert(main_task == g_thread_self()); -} - -void main_notify_unlock(void) -{ - assert(main_task == g_thread_self()); -} - void wait_main_task(void) { consume_pipe(); diff --git a/src/main_notify.h b/src/main_notify.h index 3b87cb1ab..a02564cc1 100644 --- a/src/main_notify.h +++ b/src/main_notify.h @@ -33,10 +33,6 @@ void wakeup_main_task(void); void wait_main_task(void); -void main_notify_lock(void); - -void main_notify_unlock(void); - void main_notify_triggered(void); -- cgit v1.2.3