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.

task_create() vs task_construct()?

Other Parts Discussed in Thread: SYSBIOS

I've looked into "TI-RTOS 2.16 User's Guide" which only uses task_create() once and doesn't use task_construct() at all. I've additionally looked through the: "SYS/BIOS (TI-RTOS Kernel) v6.45 User's Guide" which was slightly more helpful, but only mentioned task_construct() once without specific information; although task_create() was discussed in more depth here. The "TI-RTOS Kernel Runtime APIs and Configuration" documentation (module ti.sysbios.knl.Task) also doesn't explain more than that both are runtime instances and the following:

task_create -> // Allocate and initialize a new instance object and return its handle

task_construct -> // Initialize a new instance object inside the provided structure

I understand the process of initializing and creating both, but what are the fundamental differences? I remember reading somewhere that one is created first and something along the lines of a recommendation to use each one in different circumstances. I can't remember where I found this information and would like to reference it.

Appreciate the help!