On 2012-09-26 18:08, Michał Geszkiewicz wrote:
> Hello
> 
> I'm new to the list but not so new to rtnet.
> What need to be done that rt_dev_send/recv could work in kernel context?
> rt_make_hard_real_time() doesn't change anything.
> 
> I'm using rtnet 0.9.12 with rtai 3.8.1 on kernel 2.6.32.20.
> In relatime context communication works fine but I have to get few 
> frames in module initialisation code.

Sending is not designed for Linux context, you need an RT task.
Receiving only works over non-RT when using a non-blocking fd, ie. when
polling.

If you can't avoid ugly kernel space apps, push the initial
communication at the beginning of your RT task.

Jan

-- 
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to