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.

Question about TSK_delete?

Guru 15520 points
Other Parts Discussed in Thread: SYSBIOS

Hi,

I have a question about SYSBIOS Task Thread.

The question is about TSK_delete.
Is it allowed to delete TSK by oneself at the end of the thread?
What I meant is following example:
////////////////////////////////////////
void main()
{
 TSK_create(&TSK_thread);
 
 BIOS_start();
}

void TSK_thread()
{
 process();
 
 /*end of TSK*/
 TSK_delete(TSK_thread);   <----  Is this allowed?
}
/////////////////////////////////////////

best regards,
g.f.