call pthread_testcancel() in task_do_update

This commit is contained in:
Vincent Wei
2023-07-25 10:58:27 +08:00
parent 0b4a5a1c17
commit bce5b73e1c
+1
View File
@@ -776,6 +776,7 @@ static void *task_do_update(void *data)
_ERR_PRINTF("Failed pthread_mutex_unlock(): %m\n");
#endif
pthread_testcancel();
} while (1);
return NULL;