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