On Tue, 2007-04-03 at 22:05 +0200, Jack Whorn wrote:
> Hi Gilles, Hi folks,
> 
> The data is stored by a thread that periodically issues a single call to
> rt_task_set_mode(0, T_PRIMARY, NULL) followed by several file operation calls 
> like fprintf() and finally a call to fflush(NULL) and sync().
> 
> The application is not a kernel module, so - as far as I see it - it is a 
> user mode thread, and it actually has the highest priority in my system.
> 
> Does this help understanding the phenomenon?
> 

This whole thing reminds me of an issue involving T_LOCK that existed
for any version earlier than 2.3.1. The way the scheduler lock (i.e.
T_LOCK) was managed at that time would cause unexpectable results (aka
"utter mess") to happen whenever a scheduler lock holder thread switches
to secondary mode, and thinking about it, this would surely cause a
lockup due to a scheduling wreckage. This has been fixed on January 30,
by allowing the currently running thread which holds the scheduler lock
to sleep.

You may want to try 2.3.1 to check this.

-- 
Philippe.



_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to