Fix saem sleep
This commit is contained in:
parent
bf51bd0eae
commit
97df23f3f4
1
src/sa.c
1
src/sa.c
|
|
@ -222,6 +222,7 @@ void *sa_service(void *fc) {
|
||||||
}
|
}
|
||||||
mk_saem_n_sleep = 0;
|
mk_saem_n_sleep = 0;
|
||||||
}
|
}
|
||||||
|
++mk_saem_n_sleep;
|
||||||
|
|
||||||
pthread_mutex_lock(&bulletin->lock);
|
pthread_mutex_lock(&bulletin->lock);
|
||||||
for (int a = 0; a < bulletin->to_consume_len; ++a) {
|
for (int a = 0; a < bulletin->to_consume_len; ++a) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue