summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx09
diff options
context:
space:
mode:
authorSteven Kou <kouyongkang@gmail.com>2013-11-25 11:11:06 -0500
committerGedare Bloom <gedare@rtems.org>2013-11-25 11:11:06 -0500
commitee4dc2fd4d5077e9b07b3e020f35ce67c72cb612 (patch)
tree12686843708a2ea1f1dd205543a72786168e3dee /testsuites/psxtests/psx09
parentpsxtests: Add test document file to psx08. (diff)
downloadrtems-ee4dc2fd4d5077e9b07b3e020f35ce67c72cb612.tar.bz2
psxtests: Add test document file to psx09.
Diffstat (limited to 'testsuites/psxtests/psx09')
-rw-r--r--testsuites/psxtests/psx09/psx09.doc25
1 files changed, 25 insertions, 0 deletions
diff --git a/testsuites/psxtests/psx09/psx09.doc b/testsuites/psxtests/psx09/psx09.doc
new file mode 100644
index 0000000000..90a13f79d8
--- /dev/null
+++ b/testsuites/psxtests/psx09/psx09.doc
@@ -0,0 +1,25 @@
+# testsuites/psxtests/psx08/psx08.doc
+# COPYRIGHT (c) 1989-2009.
+# On-Line Applications Research Corporation (OAR).
+# Copyright (c) 2013 Steven Kou <kou.yongkang@dhs.sg>
+#
+# 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: psx09
+
+directives:
++ pthread_getschedparam
++ pthread_setschedparam
++ pthread_mutex_lock
+
+concepts:
++ get the priority of the current thread
++ adjusts the priority of the thread 5 times between high and medium priority
++ creates a mutex with priority ceiling and locks it to the thread
++ thread priority no longer gets adjusted after obtaining mutex
++ thread priority gets locked at the ceiling level
++ unlocks mutex and thread priority is set to low priority successfully