summaryrefslogblamecommitdiffstats
path: root/testsuites/psxtests/psxspin02/psxspin02.doc
blob: bcefba653019720a73ebfa43b491bfbd23435d8b (plain) (tree)



























                                                                          
#
#  $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.