All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Deprecated kernel system calls in xenomai-head and new application development paradigm
@ 2009-09-02  9:25 Rus V. Brushkoff
  2009-09-02  9:28 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 18+ messages in thread
From: Rus V. Brushkoff @ 2009-09-02  9:25 UTC (permalink / raw)
  To: xenomai


 	Hi,

  Well, recent changes marks kernel use of native/task.h as deprecated. 
I've read the FAQ, but still has questions. Suppose some kernel Xenomai RT 
driver need to be written. This driver is using pipes to exchange with 
non-rt userspace applications. The previous development model was simple :

............................. driver-module.c ...................

void process_task(void *)
{
  while (1) {
 	res = rt_pipe_read(...);
 	if (res > 0)
 		do_some_processing(...);
  }
}

int init_module()
{
  rt_pipe_create(...)
  rt_task_create(...);
  rt_task_start(...)
}

.............................

  Now as rt_task_create/rt_task_start are deprecated, can anybody 
briefly describe how such driver need to be developed ?

Thanks in advance.

P.S.	By the way - pipe.c example from Xenomai documentation still use
 	deprecated system calls from kernel space. Seems like this
 	confusing example need to be rewritten accordinly to new Xenomai
 	2.5/3.0 development paradigm.


 		Rus


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

end of thread, other threads:[~2009-09-02 14:41 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-02  9:25 [Xenomai-help] Deprecated kernel system calls in xenomai-head and new application development paradigm Rus V. Brushkoff
2009-09-02  9:28 ` Gilles Chanteperdrix
2009-09-02  9:32   ` Rus V. Brushkoff
2009-09-02  9:34   ` Rus V. Brushkoff
2009-09-02 10:48     ` Gilles Chanteperdrix
2009-09-02 11:11       ` Rus V. Brushkoff
2009-09-02 11:16         ` Gilles Chanteperdrix
2009-09-02 11:25           ` Rus V. Brushkoff
2009-09-02 11:37             ` Gilles Chanteperdrix
2009-09-02 12:00               ` Rus V. Brushkoff
2009-09-02 12:41                 ` Philippe Gerum
2009-09-02 14:34                   ` Rus V. Brushkoff
2009-09-02 14:40                     ` Philippe Gerum
2009-09-02 14:41                     ` Gilles Chanteperdrix
2009-09-02 11:54             ` Philippe Gerum
2009-09-02 12:04               ` Rus V. Brushkoff
2009-09-02 12:25                 ` Philippe Gerum
2009-09-02 12:35                 ` Jan Kiszka

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.