summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxeintr_join/psxeintr_join.scn
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-07-31 22:40:31 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-07-31 22:40:31 +0000
commitbd1505b218400655a45dc278bb2afe85d86d8c57 (patch)
treeac6e20bfc11c91f3d7c43ed6ed96740181ac89fd /testsuites/psxtests/psxeintr_join/psxeintr_join.scn
parent2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-bd1505b218400655a45dc278bb2afe85d86d8c57.tar.bz2
2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com>
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.
Diffstat (limited to '')
-rw-r--r--testsuites/psxtests/psxeintr_join/psxeintr_join.scn9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxeintr_join/psxeintr_join.scn b/testsuites/psxtests/psxeintr_join/psxeintr_join.scn
new file mode 100644
index 0000000000..d6e182054e
--- /dev/null
+++ b/testsuites/psxtests/psxeintr_join/psxeintr_join.scn
@@ -0,0 +1,9 @@
+*** POSIX TEST PSXEINTR_JOIN ***
+Main Thread blocked: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 27 28 29 30 31
+New Thread blocked: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 27 28 29 30 31
+New Thread: after pthread_kill
+run in GC_suspend_handler
+New Thread over!
+Back from pthread_join
+*** END OF POSIX TEST PSXEINTR_JOIN ***
+