forked from xuos/xiuos
1.add an API of finding the first user task in xiuos task manage list; 2.add restart application after ota
This commit is contained in:
@@ -159,6 +159,7 @@ int32 KTaskCreate(const char *name,
|
||||
void KTaskQuit(void);
|
||||
|
||||
#ifdef SEPARATE_COMPILE
|
||||
int UTaskSearch(void);
|
||||
int32 UTaskCreate(const char *name,
|
||||
void (*entry)(void *parameter),
|
||||
void *parameter,
|
||||
|
||||
@@ -33,6 +33,7 @@ enum KernelServiceEnum
|
||||
KS_USER_TASK_CREATE ,
|
||||
KS_USER_TASK_STARTUP ,
|
||||
KS_USER_TASK_DELETE,
|
||||
KS_USER_TASK_SEARCH,
|
||||
KS_USER_TASK_EXECEXIT,
|
||||
KS_USER_TASK_CORE_COMBINE,
|
||||
KS_USER_TASK_CORE_UNCOMBINE,
|
||||
|
||||
Reference in New Issue
Block a user