Warning, /testsuites/psxtests/psx08/psx08.doc is written in an unsupported language. File is not indexed.
0001 # SPDX-License-Identifier: BSD-2-Clause
0002
0003 # testsuites/psxtests/psx08/psx08.doc
0004 # COPYRIGHT (c) 1989-2009.
0005 # On-Line Applications Research Corporation (OAR).
0006 # Copyright (c) 2013 Steven Kou <kouyongkang@gmail.com>
0007 #
0008 # The license and distribution terms for this file may be
0009 # found in the file LICENSE in this distribution or at
0010 # http://www.rtems.org/license/LICENSE.
0011 #
0012 This file describes the directives and concepts tested by this test set.
0013
0014 test set name: psx08
0015
0016 directives:
0017 + pthread_detach
0018 + pthread_join
0019 + pthread_create
0020
0021 concepts:
0022
0023 + get the thread id
0024 + detaches self and joins with child for task 1
0025 + verify the return value of pthread_join and pointer returned
0026 + creates 2 pthreads and detaches one of them
0027 + task 3 joins with task 2
0028 + joins both new pthreads to the original thread
0029 + verify the return value and pointer returned of pthread_join after task 2 exits
0030 + task 3 exits and returned a value, verifies that the pointer is correct