Warning, /testsuites/psxtests/psx03/psx03.doc is written in an unsupported language. File is not indexed.
0001 # SPDX-License-Identifier: BSD-2-Clause
0002
0003 # /testsuites/psxtests/psx03/psx03.scn
0004 #
0005 # Copyright (c) 2013 Rishi Sharma <rishisharma7361@gmail.com>.
0006 #
0007 # The license and distribution terms for this file may be
0008 # found in the file LICENSE in this distribution or at
0009 # http://www.rtems.org/license/LICENSE.
0010 #
0011 This file describes the directives and concepts tested by this test set.
0012
0013 test set name: psx03
0014
0015 directives:
0016 + pthread_kill
0017
0018 concepts:
0019 + The SIGUSR2 is useful for simple interprocess communication.
0020 + SIGUSR2 is blocked
0021 + waiting for a signal for 3 seconds
0022 + pthread_kill is used send a signal to a thread
0023 + Task 1: The pthread_kill() function sends the signal SIGUSR2 to Init
0024 + correctly times out waiting for signal and block
0025 + receives pthread_kill signal
0026 + pthread_kill sends the signal SIGUSR1 to Init
0027 + SIGUSR1 is assigned a signal 16
0028 + SIGUSR2 is unblocked
0029 + SIGUSR2 is received and assigned a signal 17