source: rtems/testsuites/psxtests/psxgetattrnp01/psxgetattrnp01.scn @ af9115f3

5
Last change on this file since af9115f3 was af9115f3, checked in by Sebastian Huber <sebastian.huber@…>, on 10/06/17 at 08:07:38

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.

  • Property mode set to 100644
File size: 975 bytes
Line 
1*** BEGIN OF TEST PSXGETATTRNP 1 ***
2Init - pthread_getattr_np - attr NULL - EINVAL
3Init - pthread_getattr_np - invalid id - ESRCH
4Init - pthread_attr_init
5Init - pthread_attr_setinheritsched - PTHREAD_EXPLICIT_SCHED
6Init - pthread_attr_setschedpolicy to SCHED_RR
7Init - pthread_attr_setschedparam to minimum priority + 2
8Init - pthread_attr_getstack
9Init - pthread_attr_setstack double the stacksize
10Init - pthread_attr_getguardsize
11Init - pthread_attr_setguardsize double the guardsize
12Init - raise priority to max
13Init - pthread_create
14Init - Lower priority
15Thread - pthread_getattr_np - Verify value
16Thread - pthread_setschedparam: Setting highest priority SCHED_FIFO
17Thread - Detach
18Thread - pthread_getattr_np
19Thread - Verify get stack
20Thread - Verify contention scope
21Thread - Verify explicit scheduler
22Thread - Verify SCHED_FIFO policy
23Thread - Verify max priority
24Thread - Verify detached
25Thread - Verify affinity
26Thread - Destroy
27*** END OF TEST PSXGETATTRNP 1 ***
Note: See TracBrowser for help on using the repository browser.