add mutex protection for adapter agent

This commit is contained in:
Wang_Weigen
2021-11-22 17:50:27 +08:00
parent 5a8b6d79aa
commit 9d970e7832
5 changed files with 183 additions and 96 deletions

View File

@@ -79,11 +79,13 @@ int PrivTaskStartup(pthread_t *thread)
{
return 0;
}
#ifdef SEPARATE_COMPILE
/* private API of xiuos to search the first user task in manage list */
int PrivUserTaskSearch(void)
{
return UserTaskSearch();
}
#endif
int PrivTaskDelete(pthread_t thread, int sig)
{