All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] mutate/start RT_TASK a posix thread?
@ 2015-07-30  5:26 Michael Haberler
  2015-07-30 16:25 ` Philippe Gerum
  0 siblings, 1 reply; 11+ messages in thread
From: Michael Haberler @ 2015-07-30  5:26 UTC (permalink / raw)
  To: xenomai

we're happily using RT threads using the Xenomai 2 thread API

is it possible _using this API_ to create/mutate/relax such a thread intentionally into a Posix thread but retaining the API usage?

I can do any conditional API usage through thread parameters to avoid calls which will not work for a relaxed thread, but I would like to retain the API (I guess I could switch to the posix skin but I would like to avoid another learning curve/test cycle for now)

going forward/Xenomai 3: what would be your recommendation to address the issue long-term? 




(may sound like whacky question but great use case around here - turns out many jobs do not need RT capabilities but it would be handy to retain the flow)

thanks in advance,

- Michael


API used from http://www.xenomai.org/documentation/trunk/html/api/group__task.html :

rt_task_create
rt_task_delete
rt_task_inquire
rt_task_join
rt_task_resume
rt_task_self
rt_task_set_affinity
rt_task_set_mode
rt_task_set_periodic
rt_task_start,
rt_task_suspend
rt_task_unblock
rt_task_wait_period

ps: update on rtdm_native: 'sortof works' - I ran into a problem with unbalanced IRQ's which seems unrelated to rtdm_native but more related to my kernel fu; with a determined push/more clue it should be possible to transpose into 'fully works'

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-07-31 15:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-30  5:26 [Xenomai] mutate/start RT_TASK a posix thread? Michael Haberler
2015-07-30 16:25 ` Philippe Gerum
2015-07-30 18:41   ` Philippe Gerum
2015-07-31  6:50   ` Michael Haberler
2015-07-31  8:22     ` Philippe Gerum
2015-07-31  9:21       ` Michael Haberler
2015-07-31 14:07         ` Philippe Gerum
2015-07-31 15:17           ` Michael Haberler
2015-07-31 15:35             ` Philippe Gerum
2015-07-31 15:53               ` Philippe Gerum
2015-07-31 15:55                 ` Michael Haberler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.