I seem to have gotten rid of the problem by forcing a switch to the secondary domain before and after the call to rt_queue_read(). Calling rt_task_delete() caused the app to crash and then a subsequent kernel panic on the next run.
I'll see if I can write a small example to demonstrate the issue. Steven > -----Original Message----- > From: Gilles Chanteperdrix [mailto:[EMAIL PROTECTED] > Sent: Sunday, February 03, 2008 2:37 PM > To: Steven Seeger > Cc: [email protected] > Subject: Re: [Xenomai-help] rt_queue_read and pthread_cancel() > You do not need to call pthread_testcancel(): rt_task_shadow sets the > thread cancellation type to PTHREAD_CANCEL_ASYNCHRONOUS, which means > that pthread_cancel will send a signal to this thread to terminate > it. So, the reason for the deadlock is probably elsewhere. Could you > reduce your application to a small self-contained test which wouls show > us what you are observing ? _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
