From b23ef8740343ebd4c60ef32f282b8476c223e1cd Mon Sep 17 00:00:00 2001 From: Rishi Sharma Date: Thu, 26 Dec 2013 10:10:52 -0600 Subject: psx03: Add doc file --- testsuites/psxtests/psx03/psx03.doc | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 testsuites/psxtests/psx03/psx03.doc (limited to 'testsuites/psxtests/psx03') 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 . +# +# 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 -- cgit v1.2.3