Hi,
gdbserver, the target seems to locks up. Only hard reset can bring it back.
Which means that pthread_cond_wait() likely returns with an error.
I later replaced the printf with a pthread_yield() to work around the "lockup"
and made the threads record the errors, if any, to variables instead of complex output;
as you suggested.
The pthread_cond_wait always(!) return EPERM in the first two threads when run
with gdb, only the pthread_cond_wait in the third thread succeeds. That
appears to be the same result as with the original test code. Even the very
first pthread_cond_wait() already returned EPERM, even before the first
printf().
Kolja
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help