summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxcond01/psxcond01.doc
blob: 36642780ee0fb2769cf4e716ddd7c345a8650000 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#  COPYRIGHT (c) 1989-2013.
#  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 EPERM is returned on pthread_cond_wait when mutex is not locked

+ Verify error conditions in pthread_mutexattr_settype

+ Verify normal paths through pthread_mutexattr_gettype

+ Verify normal paths through pthread_mutexattr_settype