Re: [Xenomai-help] Posix skin illegal seek on sem_wait

2006-04-25 Thread Gilles Chanteperdrix
Daniel Simon wrote: > Anyway, my threads are created with the SCHED_FIFO flag; may be there > is a conflict with main() which, as I understand, can be only a regular > thread? A thread may only shadow itself, so, pthread_setschedparam has to be called from the threads that need to be shadowed.

Re: [Xenomai-help] Posix skin illegal seek on sem_wait

2006-04-25 Thread Gilles Chanteperdrix
Daniel Simon wrote: > On Tue, 25 Apr 2006 15:44:02 +0200 > Gilles Chanteperdrix <[EMAIL PROTECTED]> wrote: > > > The term "Xenomai thread" comes from the document "Life with Adeos": > > The shadowing process is not clear in this paper, e.g. bottom of page 6: > > < space, or within the ad

Re: [Xenomai-help] Posix skin illegal seek on sem_wait

2006-04-25 Thread Daniel Simon
On Tue, 25 Apr 2006 15:44:02 +0200 Gilles Chanteperdrix <[EMAIL PROTECTED]> wrote: > The term "Xenomai thread" comes from the document "Life with Adeos": The shadowing process is not clear in this paper, e.g. bottom of page 6: <> I guess that "regular Linux tasks unknown to Xenomai, and which

Re: [Xenomai-help] Posix skin illegal seek on sem_wait

2006-04-25 Thread Gilles Chanteperdrix
Daniel Simon wrote: > What makes the difference between a Xenomai thread and an ordinary nptl > thread, other than the compilation and linking flags? The term "Xenomai thread" comes from the document "Life with Adeos": http://snail.fsffrance.org/www.xenomai.org/documentation/trunk/pdf/Life-with

[Xenomai-help] Posix skin illegal seek on sem_wait

2006-04-25 Thread Daniel Simon
Hello all, I am a xenomai newbie, and testing some of my existing test programs with the xenomai posix skin. While testing the file in attachment (testwait) the semaphore does not block and returns errno 29 (illegal seek). What can be the reason? This program runs (with a bad timing) under plain