Re: Best way to detect if a filedescriptor is a cobalt filedescriptor (/socket)

2019-07-11 Thread Philippe Gerum via Xenomai
On 7/10/19 11:20 AM, Lange Norbert wrote: > > >> -Original Message- >> From: Jan Kiszka >> Sent: Mittwoch, 10. Juli 2019 08:13 >> To: Lange Norbert ; Xenomai >> (xenomai@xenomai.org) ; Philippe Gerum >> >> Subject: Re: Be

RE: Best way to detect if a filedescriptor is a cobalt filedescriptor (/socket)

2019-07-10 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Mittwoch, 10. Juli 2019 08:13 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) ; Philippe Gerum > > Subject: Re: Best way to detect if a filedescriptor is a cobalt filedescriptor > (/socket) > > E-MAIL F

Re: Best way to detect if a filedescriptor is a cobalt filedescriptor (/socket)

2019-07-09 Thread Jan Kiszka via Xenomai
On 09.07.19 16:49, Lange Norbert via Xenomai wrote: > Hi, > > I am opening a packetsocket, which is supposed to be realtime. Unfortunatly > if the rtpacket (rtnet?) module is not loaded, > then this will just silently fall back to a linux packet socket. Then later > demote thread during accesses

Best way to detect if a filedescriptor is a cobalt filedescriptor (/socket)

2019-07-09 Thread Lange Norbert via Xenomai
Hi, I am opening a packetsocket, which is supposed to be realtime. Unfortunatly if the rtpacket (rtnet?) module is not loaded, then this will just silently fall back to a linux packet socket. Then later demote thread during accesses. How would I be able to detect this early during startup? I co