summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx03
diff options
context:
space:
mode:
authorRishi Sharma <rishisharma7361@gmail.com>2013-12-26 10:10:52 -0600
committerJennifer Averett <jennifer.averett@oarcorp.com>2013-12-26 10:10:52 -0600
commitb23ef8740343ebd4c60ef32f282b8476c223e1cd (patch)
treea91af4b4f554201fdfd16ba6c662b267f25af805 /testsuites/psxtests/psx03
parentutf8proc1/spedgsched01: minor fixes in test document files (diff)
downloadrtems-b23ef8740343ebd4c60ef32f282b8476c223e1cd.tar.bz2
psx03: Add doc file
Diffstat (limited to 'testsuites/psxtests/psx03')
-rw-r--r--testsuites/psxtests/psx03/psx03.doc27
1 files changed, 27 insertions, 0 deletions
diff --git a/testsuites/psxtests/psx03/psx03.doc b/testsuites/psxtests/psx03/psx03.doc
new file mode 100644
index 0000000000..8bbac2e525
--- /dev/null
+++ b/testsuites/psxtests/psx03/psx03.doc
@@ -0,0 +1,27 @@
+# /testsuites/psxtests/psx03/psx03.scn
+#
+# Copyright (c) 2013 Rishi Sharma <rishisharma7361@gmail.com>.
+#
+# The license and distribution terms for this file may be
+# found in the file LICENSE in this distribution or at
+# http://www.rtems.com/license/LICENSE.
+#
+This file describes the directives and concepts tested by this test set.
+
+test set name: psx03
+
+directives:
++ pthread_kill
+
+concepts:
++ The SIGUSR2 is useful for simple interprocess communication.
++ SIGUSR2 is blocked
++ waiting for a signal for 3 seconds
++ pthread_kill is used send a signal to a thread
++ Task 1: The pthread_kill() function sends the signal SIGUSR2 to Init
++ correctly times out waiting for signal and block
++ receives pthread_kill signal
++ pthread_kill sends the signal SIGUSR1 to Init
++ SIGUSR1 is assigned a signal 16
++ SIGUSR2 is unblocked
++ SIGUSR2 is received and assigned a signal 17