天天 wrote: > Thanks, Jan. > And 'rt_dev_sendmsg' must be done in hard real-time context, mustn't it? >
Yes, that's right. Jan > > 2009/12/22, Jan Kiszka <jan.kis...@web.de>: >> Susan wrote: >>> Hi Jan, >>> I wrote a program on rtai-3.7 and rtnet-0.9.11. >>> The process: mlockall -> rt_task_init -> rt_make_hard_real_time -> >>> rt_dev_socket -> rt_dev_bind -> rt_dev_sendmsg -> rt_make_soft_real_time >>> -> >>> rt_dev_close -> rt_task_delete. >>> rt_dev_sendmsg() returned -38, "funtion not implemented". Is there >>> anything >>> wrong? >> It's hard to say without seeing the program, but I assume the ordering >> of rt_make_hard_real_time and rt_dev_socket+rt_dev_bind will cause >> troubles. These days, socket creation and configuration should be done >> in soft or non-RT context. >> >> Jan >> >>
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users