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.

Stacks in OpenMP

Other Parts Discussed in Thread: TMS320C6678

I am writing an OpenMP code with bare-metal mode configuration using OpenMP runtime 2.x.

There are two kinds of stacks in the code.

One is "program.stack = 0x10000;" in the .cfg file and

the other is " __TI_omp_config_thread_stack(1, 0x20000);" in the C file.

How do the two stacks differ? What are the respective roles of the stacks?