[Xenomai] copperplate/registry daemon connection failure

Philippe Gerum rpm at xenomai.org
Fri Jan 6 10:29:31 CET 2017


On 01/06/2017 10:21 AM, Ronny Meeus wrote:
> That logic I had seen before.
> As I understand the code it just tries 3 times to connect to the daemon
> and if not successful, it just tries to start it again and reconnects ...
> I find it a strange logic just to try something 3 times and hope it
> will succeed.
> In our case the CPU is fully loaded with RT threads so my assumption is that
> the daemon, running at nonRT prio will not be scheduled at all.
> (also see the traces above that confirm my assumptions)
> 
> I would expect to see some kind of synchronization mechanism between the
> daemon and the application.
> 

The point is that such init code is aimed at running early, prior to any
Xenomai application code, this is cold bootstrap code. The fact that
your app can spawn threads overconsuming the CPU earlier than Xenomai's
basic init code is a problem for Xenomai.

-- 
Philippe.



More information about the Xenomai mailing list