mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-30 02:47:52 +08:00
* Makefile.am, configure.ac: Add new test to account for properly handling keys when a thread has non-NULL key value and key has NULL destructor and when a thread has NULL key value and key has destructor. * psxkey03/.cvsignore, psxkey03/Makefile.am, psxkey03/init.c, psxkey03/psxkey03.doc, psxkey03/psxkey03.scn: New files.
29 lines
647 B
Plaintext
29 lines
647 B
Plaintext
#
|
|
# $Id$
|
|
#
|
|
# COPYRIGHT (c) 1989-2009.
|
|
# On-Line Applications Research Corporation (OAR).
|
|
#
|
|
# 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: psxkey03
|
|
|
|
directives:
|
|
|
|
pthread_key_create
|
|
pthread_setspecific
|
|
pthread_key_delete
|
|
|
|
concepts:
|
|
|
|
+ Ensure that keys with NULL destructors are properly processed when
|
|
a thread exits.
|
|
|
|
+ Ensure that keys with destructors but threads with NULL key values are
|
|
properly processed when the thread exits.
|