PR 1855/cpukit
* Makefile.am, configure.ac: Correct signal processing during
pthread_join. We are supposed to unblock the thread waiting on a
pthread_join(), dispatch the signal handler, account for it
potentially overwriting errno, and then have the thread return to
blocking within pthread_join().
* psxeintr_join/.cvsignore, psxeintr_join/Makefile.am,
psxeintr_join/init.c, psxeintr_join/psxeintr_join.doc,
psxeintr_join/psxeintr_join.scn: New files.
PR 1855/cpukit
* posix/src/psignal.c, posix/src/pthread.c, posix/src/pthreadjoin.c:
Correct signal processing during pthread_join. We are supposed to
unblock the thread waiting on a pthread_join(), dispatch the signal
handler, account for it potentially overwriting errno, and then have
the thread return to blocking within pthread_join().
PR 1867/cpukit
* Makefile.am, configure.ac, psx12/task.c, psxkey03/init.c,
psxrwlock01/test.c: Correct implementation of pthread_exit() and
pthread_join() to support the case where a thread is joinable but
calls pthread_exit() before a thread has attempted to join.
PR 1867/cpukit
* posix/src/pthreadexit.c, posix/src/pthreadjoin.c: Correct
implementation of pthread_exit() and pthread_join() to support the
case where a thread is joinable but calls pthread_exit() before a
thread has attempted to join.
* smp03/init.c, smp03/system.h, smp03/tasks.c: Modified test to force a
task to run prior to starting the next task. This allows the last
task to always preempt, where if the tasks started in an odd order
the last task could run prior the the task it was supposed to
preempt.
PR 1857/tests
* Makefile.am, configure.ac: Add test where there is more than one
thread at a priority with the executing thread being non-preemptive.
* sp76/.cvsignore, sp76/Makefile.am, sp76/init.c, sp76/sp76.doc,
sp76/sp76.scn: New files.
* shared/start/start.S, shared/start/preload.S:
Make sure stack is 16-byte aligned and the TOS
is tagged with a NULL pointer (used as a terminator
when printing stack traces).
* Makefile.am, configure.ac: New test to get coverage of core mutex
obtain while in ISR or other dispatch disabled critical section but
no wait.
* sp75/.cvsignore, sp75/Makefile.am, sp75/init.c, sp75/sp75.doc,
sp75/sp75.scn: New files.
PR 1853/tests
* Makefile.am, configure.ac: Add test for case where a thread is
non-preemptive, multiple threads are ready at that priority, a higher
priority thread is heir and the thread yields.
* sp74/.cvsignore, sp74/Makefile.am, sp74/init.c, sp74/sp74.doc,
sp74/sp74.scn: New files.