Commit dd0f8e42 authored by Max Kellermann's avatar Max Kellermann

main_notify: removed lock()/unlock()

These functions are not used anymore since we use the GLib main loop.
parent 2cdfd938
...@@ -79,16 +79,6 @@ void wakeup_main_task(void) ...@@ -79,16 +79,6 @@ void wakeup_main_task(void)
g_error("error writing to pipe: %s", strerror(errno)); 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) void wait_main_task(void)
{ {
consume_pipe(); consume_pipe();
......
...@@ -33,10 +33,6 @@ void wakeup_main_task(void); ...@@ -33,10 +33,6 @@ void wakeup_main_task(void);
void wait_main_task(void); void wait_main_task(void);
void main_notify_lock(void);
void main_notify_unlock(void);
void void
main_notify_triggered(void); main_notify_triggered(void);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment