From 700f18eee55cd6a5906bd526f62e958647cea221 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 6 Oct 2008 18:31:59 +0200 Subject: main_notify: define main_task so we can use it for assertions It'll be easier to keep track of what code runs in what task/thread this way. --- src/main_notify.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main_notify.h') diff --git a/src/main_notify.h b/src/main_notify.h index dd30dc5d6..aaa1f20b4 100644 --- a/src/main_notify.h +++ b/src/main_notify.h @@ -21,6 +21,10 @@ #ifndef MAIN_NOTIFY_H #define MAIN_NOTIFY_H +#include + +extern pthread_t main_task; + void init_main_notify(void); void deinit_main_notify(void); -- cgit v1.2.3