summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxspin02/psxspin02.doc
blob: 43a871d4a92801dfa3e3f18947f86ef1101d4929 (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
#  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.org/license/LICENSE.
#

This file describes the directives and concepts tested by this test set.

test set name:  psxspin02

directives:

  pthread_spin_lock
  pthread_spin_trylock
  pthread_spin_unlock

concepts:

+ Ensure that attempting to obtain a locked spin lock with
  pthread_spin_trylock returns the correct error.

+ Ensure that attempting to release a locked spin lock from a thread which
  did not lock it returns the correct error.