blob: bcefba653019720a73ebfa43b491bfbd23435d8b (
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
|
#
# $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: 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.
|