Hi Gilles,      Thanks for your reply. I am using 'rt_task_sleep(100us)' at the end of every task to let Linux task run. With this I am able to run my application program , but I am not able to debug using 'GDB'. Also is there any better way to allow Linux task run instead of using 'rt_task_sleep' ? My application has got 5 different task of equal priority and I want to run these in Round Robin fashion , I used 'rt_task_set_mode(0,XNRRB ,NULL)' to enable Round Robin scheduling mode, but task are not getting executed in Round Robin fashion. Am I missing something ? Please help me. Thanks & Best Regards, Sanjay ________________________________ From: Gilles Chanteperdrix To: sanjay anvekar Cc: "xenomai-help@domain.hid" Sent: Wednesday, 8 June 2011 1:35 PM Subject: Re: [Xenomai-help] Xenomai-Driver On 06/08/2011 04:22 AM, sanjay anvekar wrote: >      rt_task_yield() - To allow execution of other tasks. It is a bit hard to answer without seeing any code, but there is a simple remark we can make: rt_task_yield does not "allow execution of other tasks", rt_task_yield only allows execution of tasks with same priority as the current task. Your real-time tasks have to let Linux run from time to time if you want the serial port and graphic display to run correctly, and in order to do this they have to get suspended, rt_task_yield will definitely not do that. --                                                                 Gilles.