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 resume which was blocked by Task_sleep()

Hallo,

I am neu in SYS/BIOS. I use SYS/BIOS 6.35 in AM335x StarterKit.

Is there any possiblity to resume (change the task mode to READY) the task  which is blocked by Task_sleep() function?

Thanks in advance,

Best gerads

  • Hi Baska,

    A task cannot be explicitly changed into READY mode.  You may want to consider having the task pend on a Semaphore.  You can specify a Timeout (in clock ticks) and you can post the Semaphore from another task if you would like to trigger execution before the Timeout is over.  

    Regards,

    --Emmanuel

  • Hi Emmanuel,

    That is a good idea,

    Thank you very much.

    Best regards,

    Baska

    Emmanuel Trinidad - Alicea said:

    Hi Baska,

    A task cannot be explicitly changed into READY mode.  You may want to consider having the task pend on a Semaphore.  You can specify a Timeout (in clock ticks) and you can post the Semaphore from another task if you would like to trigger execution before the Timeout is over.  

    Regards,

    --Emmanuel