diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-06 10:07:38 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-09 14:52:58 +0200 |
commit | af9115f35cfb3d0adeb3e105fd608883596f2637 (patch) | |
tree | d6638dc66e87ad1736f7675f79e7e6d116e5c463 /testsuites/psxtests/psxgetattrnp01/psxgetattrnp01.scn | |
parent | score: Change Timestamp_Control to sbintime_t (diff) | |
download | rtems-af9115f35cfb3d0adeb3e105fd608883596f2637.tar.bz2 |
posix: Simplify POSIX_API_Control
Return stack area via pthread_getattr_np().
Simplify
* pthread_attr_setaffinity_np(), and
* pthread_attr_getaffinity_np()
and let the scheduler do the more sophisticated error checks.
Make
* pthread_setaffinity_np(),
* pthread_getaffinity_np(),
* pthread_attr_setaffinity_np(), and
* pthread_attr_getaffinity_np()
available in all configurations.
Update #2514.
Close #3145.
Close #3168.
Diffstat (limited to 'testsuites/psxtests/psxgetattrnp01/psxgetattrnp01.scn')
-rw-r--r-- | testsuites/psxtests/psxgetattrnp01/psxgetattrnp01.scn | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxgetattrnp01/psxgetattrnp01.scn b/testsuites/psxtests/psxgetattrnp01/psxgetattrnp01.scn index a3572e048c..ab09630f75 100644 --- a/testsuites/psxtests/psxgetattrnp01/psxgetattrnp01.scn +++ b/testsuites/psxtests/psxgetattrnp01/psxgetattrnp01.scn @@ -1,4 +1,4 @@ -*** POSIX ATTRIBUTE TEST 1 *** +*** BEGIN OF TEST PSXGETATTRNP 1 *** Init - pthread_getattr_np - attr NULL - EINVAL Init - pthread_getattr_np - invalid id - ESRCH Init - pthread_attr_init @@ -16,7 +16,12 @@ Thread - pthread_getattr_np - Verify value Thread - pthread_setschedparam: Setting highest priority SCHED_FIFO Thread - Detach Thread - pthread_getattr_np +Thread - Verify get stack +Thread - Verify contention scope +Thread - Verify explicit scheduler Thread - Verify SCHED_FIFO policy Thread - Verify max priority Thread - Verify detached -*** END OF POSIX ATTRIBUTE TEST 1 *** +Thread - Verify affinity +Thread - Destroy +*** END OF TEST PSXGETATTRNP 1 *** |