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.

environment pointer of task object

Hi.

I'm using DSP/BIOS 5.41 now.

But I don't understand what environment pointer of task object is.

I've just seen that environment pointer is globally defined data structure.

could you tell me what role environment pointer is in dsp/bios?

Regards,

zizek.

  • Zizek,

    The 'environ' Ptr in the TSK object is a generic pointer for application use.

    It allows the user to provide additional application-specific task state information for each task. A pointer to the additional task state is saved in the 'environ' field of the TSK object.

    Using the TSK_setenv() and TSK_getenv() APIS, you can initialize and retrieve the 'environ' pointer from a TSK object.

    Alan

  • ok, It has been just a a pointer for each task :) and i could change dynamically states for a task using this pointer

     

    thank you!!