On 10/4/06, Jan Kiszka <[EMAIL PROTECTED]> wrote:
>
> Yes i knew it but... yes there is a reason for that order... i wrote the
> calls in the same order i found in /examples/rtai/simpleserver.c and
> /examples/rtai/simpleclient.c.

Yes, I remember now. Those examples used to crash once, but then Paolo
modified the LXRT registration of RTDM services. Still, certainly not
all services can be called, but in theory yours should be fine.

OK
 
> Any reason for the current ordering? If not, try to flip it.
>>
>> Jan
>
>
> Now i'll move rt_dev_socket and rt_dev_ioctl  after rt_task_init call and
> i'll tell you the result but still i'm asking myself why, without
> rt_dev_ioctl, the order works?

Cannot tell you, but may posting the oops related to that problem can
shed some light on it.

Jan


I switch the order of calls. Now it is

rt_task_init
rt_dev_socket
rt_dev_ioctl

Now it works fine!

I'm not able to find the oops, i'm going to find an old mail in which you told me what files i have to read to learn:)

--
Teresa Noviello
Chiedersi Sempre:"Avro' il tempo di rifarlo?"
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to