Files
rtems/testsuites/psxtests/psxcond01/psxcond01.doc
T
Joel Sherrill 14d3ad4fcf 2009-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add new test to exercise error case for
	when a task is blocked on a condition variable with one mutex and
	another task attempts to block on the same condition variable with
	another mutex.
	* psxcond01/.cvsignore, psxcond01/Makefile.am, psxcond01/init.c,
	psxcond01/psxcond01.doc, psxcond01/psxcond01.scn: New files.
2009-07-21 15:07:26 +00:00

34 lines
827 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: psxcond01
directives:
pthread_mutex_init
pthread_cond_init
pthread_cond_wait
concepts:
+ Verify that if a task is waiting on a condition variable and has
associated one mutex instance that it is an error for another task
to attempt to block on the same condition variable using a different
mutex.
+ Verify error conditions in pthread_mutexattr_settype
+ Verify normal paths through pthread_mutexattr_gettype
+ Verify normal paths through pthread_mutexattr_settype