This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

appServiceTaskId 的理解?

Other Parts Discussed in Thread: SYSBIOS, Z-STACK

static void otaServer_initialization(void)
{

/* Initialize user clocks */
otaServer_initializeClocks();

Initialize_UI();

/* create semaphores for messages / events
*/
Semaphore_Params semParam;
Semaphore_Params_init(&semParam);
semParam.mode = ti_sysbios_knl_Semaphore_Mode_COUNTING;
Semaphore_construct(&appSem, 0, &semParam);
appSemHandle = Semaphore_handle(&appSem);

appServiceTaskId = OsalPort_registerTask(Task_self(), appSemHandle, &appServiceTaskEvents);

otaServer_Init();
}

上面的这个函数产生的appServiceTaskId 应该怎么去理解它?