Fix termination test in event processing

e13b602 ("Avoid using pthread_cancel") introduced a bogus termination test,
this fixes it.

Fixes #572
This commit is contained in:
Samuel Thibault
2018-12-19 15:54:21 +01:00
parent e13b602ce0
commit 04a8a619b6
+1 -1
View File
@@ -254,7 +254,7 @@ static void *polling_thread(void *p)
{
(void)p; // unused
while (my_terminate_is_required) {
while (!my_terminate_is_required) {
bool a_stop_is_required = false;
(void)pthread_mutex_lock(&my_mutex);