We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6472907 commit bd40d6aCopy full SHA for bd40d6a
libs/ao/ao.c
@@ -49,11 +49,7 @@
49
struct am_ao_state am_ao_state_;
50
51
bool am_ao_event_queue_is_empty(struct am_ao *ao) {
52
- struct am_ao_state *me = &am_ao_state_;
53
- me->crit_enter();
54
- bool empty = am_event_queue_is_empty(&ao->event_queue);
55
- me->crit_exit();
56
- return empty;
+ return am_event_queue_is_empty(&am_ao_state_.event_queue);
57
}
58
59
bool am_ao_publish_exclude_x(
0 commit comments