Kolja Waschk wrote:
> Hi,
>
>> The following patch seems to fix the issue, but I am not yet sure
>> diff --git a/ksrc/nucleus/shadow.c b/ksrc/nucleus/shadow.c
>
> Yes it does fix it for me too. The output of my "try" program when run with
> gdbserver still differs from the output when run standalone, but at least
> there
> are no EPERM results anymore. The first two tasks cycle pthread_cond_wait more
> than once.
>
> 0 3x 0x0010
> 1 2x 0x0010
> 2 1x 0x0010
Actually, that is normal, what you see are "spurious wake-ups" caused by
the signals sent by gdb, these are allowed by the posix specification.
However calling pthread_cond_wait again should not return immediately,
it should block until the call to pthread_cond_broadcast, so there
should not be a lockup.
--
Gilles.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help