About the reasons for setting the timer-internal thread with the THREADOBJ_IRQCONTEXT flag.
sunshilong369 at gmail.com
Tue Sep 1 11:11:43 CEST 2020
I found that the timer-internal thread is set with the
Here is the related code snippet:
static int server_prologue(void *arg)
svpid = get_thread_pid();
Could you please tell me the reasons for setting the timer-internal
thread with the THREADOBJ_IRQCONTEXT flag.
What are the potential problems if not setting this flag?
(I want to make it possible to call rt_task_sleep in the callback
function of the timer which is created by rt_alarm_create.)
Thank you for your attention to this matter.
More information about the Xenomai