main_notify: removed lock()/unlock()
These functions are not used anymore since we use the GLib main loop.
This commit is contained in:
@@ -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();
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user