mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-25 11:07:54 +08:00
call pthread_testcancel() in task_do_update
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user