1 |
30 |
unneback |
*** POSIX TEST 7 ***
|
2 |
|
|
Init's ID is 0x0c010001
|
3 |
|
|
Init: pthread_attr_init - EINVAL (NULL attr)
|
4 |
|
|
Init: pthread_attr_init - SUCCESSFUL
|
5 |
|
|
Init: initialize and destroy an attribute - SUCCESSFUL
|
6 |
|
|
Init: pthread_attr_destroy - EINVAL (NULL attr)
|
7 |
|
|
Init: pthread_attr_destroy - EINVAL (not initialized)
|
8 |
|
|
Init: pthread_create - EINVAL (attr not initialized)
|
9 |
|
|
Init: pthread_create - EINVAL (stacksize too small)
|
10 |
|
|
Init: pthread_create - EAGAIN (stacksize too large)
|
11 |
|
|
Init: pthread_create - EINVAL (invalid inherit scheduler)
|
12 |
|
|
Init: pthread_create - ENOTSUP (unsupported system contention scope)
|
13 |
|
|
Init: pthread_create - SUCCESSFUL (inherit scheduler)
|
14 |
|
|
Task_1: exitting
|
15 |
|
|
Init: pthread_attr_setscope - EINVAL (NULL attr)
|
16 |
|
|
Init: pthread_attr_setscope - ENOTSUP
|
17 |
|
|
Init: pthread_attr_setscope - EINVAL (not initialized attr)
|
18 |
|
|
Init: pthread_attr_setscope - EINVAL (invalid scope)
|
19 |
|
|
Init: pthread_attr_setscope - SUCCESSFUL
|
20 |
|
|
Init: pthread_attr_getscope - EINVAL (NULL attr)
|
21 |
|
|
Init: pthread_attr_getscope - EINVAL (NULL scope)
|
22 |
|
|
Init: pthread_attr_getscope - EINVAL (not initialized attr)
|
23 |
|
|
Init: pthread_attr_getscope - SUCCESSFUL
|
24 |
|
|
Init: current scope attribute = 0
|
25 |
|
|
Init: pthread_attr_setinheritsched - EINVAL (NULL attr)
|
26 |
|
|
Init: pthread_attr_setinheritsched - EINVAL (not initialized attr)
|
27 |
|
|
Init: pthread_attr_setinheritsched - ENOTSUP (invalid inheritsched)
|
28 |
|
|
Init: pthread_attr_setinheritsched - SUCCESSFUL
|
29 |
|
|
Init: pthread_attr_getinheritsched - EINVAL (NULL attr)
|
30 |
|
|
Init: pthread_attr_getinheritsched - EINVAL (NULL inheritsched)
|
31 |
|
|
Init: pthread_attr_getinheritsched - EINVAL (not initialized attr)
|
32 |
|
|
Init: pthread_attr_getinheritsched - SUCCESSFUL
|
33 |
|
|
Init: current inherit scheduler attribute = 1
|
34 |
|
|
Init: pthread_attr_setschedpolicy - EINVAL (NULL attr)
|
35 |
|
|
Init: pthread_attr_setschedpolicy - EINVAL (not initialized attr)
|
36 |
|
|
Init: pthread_attr_setschedpolicy - ENOTSUP (invalid schedpolicy)
|
37 |
|
|
Init: pthread_attr_setschedpolicy - SUCCESSFUL
|
38 |
|
|
Init: pthread_attr_getschedpolicy - EINVAL (NULL attr)
|
39 |
|
|
Init: pthread_attr_getschedpolicy - EINVAL (NULL schedpolicy)
|
40 |
|
|
Init: pthread_attr_getschedpolicy - EINVAL (not initialized attr)
|
41 |
|
|
Init: pthread_attr_getschedpolicy - SUCCESSFUL
|
42 |
|
|
Init: current scheduler policy attribute = 2
|
43 |
|
|
Init: pthread_attr_setstacksize - EINVAL (NULL attr)
|
44 |
|
|
Init: pthread_attr_setstacksize - EINVAL (not initialized attr)
|
45 |
|
|
Init: pthread_attr_setstacksize - SUCCESSFUL (low stacksize)
|
46 |
|
|
Init: pthread_attr_setstacksize - SUCCESSFUL (high stacksize)
|
47 |
|
|
Init: pthread_attr_getstacksize - EINVAL (NULL attr)
|
48 |
|
|
Init: pthread_attr_getstacksize - EINVAL (NULL stacksize)
|
49 |
|
|
Init: pthread_attr_getstacksize - EINVAL (not initialized attr)
|
50 |
|
|
Init: pthread_attr_getstacksize - SUCCESSFUL
|
51 |
|
|
Init: current stack size attribute = 5120
|
52 |
|
|
Init: pthread_attr_setstackaddr - EINVAL (NULL attr)
|
53 |
|
|
Init: pthread_attr_setstackaddr - EINVAL (not initialized attr)
|
54 |
|
|
Init: pthread_attr_setstackaddr - SUCCESSFUL
|
55 |
|
|
Init: pthread_attr_getstackaddr - EINVAL (NULL attr)
|
56 |
|
|
Init: pthread_attr_getstackaddr - EINVAL (NULL stackaddr)
|
57 |
|
|
Init: pthread_attr_getstackaddr - EINVAL (not initialized attr)
|
58 |
|
|
Init: pthread_attr_getstackaddr - SUCCESSFUL
|
59 |
|
|
Init: current stack address attribute = 0x0
|
60 |
|
|
Init: pthread_attr_setdetachstate - EINVAL (NULL attr)
|
61 |
|
|
Init: pthread_attr_setdetachstate - EINVAL (not initialized attr)
|
62 |
|
|
Init: pthread_attr_setdetachstate - EINVAL (invalid detachstate)
|
63 |
|
|
Init: pthread_attr_setdetachstate - SUCCESSFUL
|
64 |
|
|
Init: pthread_attr_getdetachstate - EINVAL (NULL attr)
|
65 |
|
|
Init: pthread_attr_getdetachstate - EINVAL (NULL detatchstate)
|
66 |
|
|
Init: pthread_attr_getdetachstate - EINVAL (not initialized attr)
|
67 |
|
|
Init: pthread_attr_getdetachstate - SUCCESSFUL
|
68 |
|
|
Init: current detach state attribute = 1
|
69 |
|
|
Init: pthread_attr_getschedparam - SUCCESSFUL
|
70 |
|
|
Init: sched priority = 2
|
71 |
|
|
Init: ss_low_priority = 0
|
72 |
|
|
Init: ss_replenish_period = (0, 0)
|
73 |
|
|
Init: ss_initial_budget = (0, 0)
|
74 |
|
|
Init: pthread_attr_setschedparam - EINVAL (NULL attr)
|
75 |
|
|
Init: pthread_attr_setschedparam - EINVAL (not initialized attr)
|
76 |
|
|
Init: pthread_attr_setschedparam - EINVAL (NULL schedparam)
|
77 |
|
|
Init: pthread_attr_setschedparam - SUCCESSFUL
|
78 |
|
|
Init: pthread_attr_getschedparam - EINVAL (NULL attr)
|
79 |
|
|
Init: pthread_attr_getschedparam - EINVAL (not initialized attr)
|
80 |
|
|
Init: pthread_attr_getschedparam - EINVAL (NULL schedparam)
|
81 |
|
|
Init: pthread_getschedparam - EINVAL (NULL policy)
|
82 |
|
|
Init: pthread_getschedparam - EINVAL (NULL schedparam)
|
83 |
|
|
Init: pthread_getschedparam - ESRCH (bad thread)
|
84 |
|
|
Init: pthread_getschedparam - SUCCESSFUL
|
85 |
|
|
Init: policy = 1
|
86 |
|
|
Init: sched priority = 2
|
87 |
|
|
Init: ss_low_priority = 0
|
88 |
|
|
Init: ss_replenish_period = (0, 0)
|
89 |
|
|
Init: ss_initial_budget = (0, 0)
|
90 |
|
|
Init: pthread_setschedparam - EINVAL (NULL schedparam)
|
91 |
|
|
Init: pthread_setschedparam - EINVAL (invalid priority)
|
92 |
|
|
Init: pthread_setschedparam - EINVAL (invalid policy)
|
93 |
|
|
Init: pthread_setschedparam - ESRCH (invalid thread)
|
94 |
|
|
Init: pthread_setschedparam - EINVAL (replenish < budget)
|
95 |
|
|
Init: pthread_setschedparam - EINVAL (invalid priority)
|
96 |
|
|
*** END OF POSIX TEST 7 ***
|