summaryrefslogtreecommitdiffstats
path: root/c/src/tests/psxtests/psx10/psx10.scn
blob: 0247781efaca6cbbe13cd206c078c0349dac6baf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
*** POSIX TEST 10 ***
Init: pthread_condattr_init
Init: pthread_condattr_init - EINVAL (attribute invalid)
Init: pthread_condattr_destroy
Init: pthread_condattr_destroy - EINVAL (attribute invalid)
Init: pthread_condattr_init
Init: pthread_condattr_setpshared - PTHREAD_PROCESS_SHARED
Init: pthread_condattr_setpshared - PTHREAD_PROCESS_PRIVATE
Init: pthread_condattr_setpshared - EINVAL (attribute invalid)
Init: pthread_condattr_setpshared - EINVAL (pshared invalid)
Init: pthread_condattr_getpshared - 0
Init: pthread_condattr_getpshared - EINVAL (attribute invalid)
Init: pthread_cond_init - NULL attr
Init: pthread_cond_init - EINVAL (attr not initialized)
Init: pthread_cond_init - ENOMEM (too many conds)
Init: pthread_cond_destroy
Init: pthread_cond_destroy - EINVAL (cond invalid)
Init: pthread_cond_init - attr
Init: sleep to switch to Task_1
Task_1: ID is 0x0c010002
Task_1: pthread_cond_wait
Init: pthread_cond_destroy - EBUSY (task1 waiting)
Init: pthread_cond_signal
Init: sleep - switch to Task_1 and Task_2
Task_1: back from pthread_cond_wait release mutex
Task_1: pthread_cond_wait
Task_2: ID is 0x0c010003
Task_2: pthread_cond_wait
Init: pthread_cond_broadcast
Init: sleep - switch to Task_1
Task_1: back from pthread_cond_wait release mutex
Task_1: task exit
Task_2: back from pthread_cond_wait release mutex
Task_2: task exit
Init: pthread_cond_timedwait for 3 seconds
Init: pthread_cond_timedwait - ETIMEDOUT - (mutex not acquired)
Init: pthread_cond_signal - EINVAL (cond invalid)
Init: pthread_cond_broadcast - EINVAL (cond invalid)
Init: pthread_cond_wait - EINVAL (cond invalid)
Init: pthread_cond_timedwait - EINVAL (cond invalid)
Init: pthread_cond_wait - EINVAL (mutex invalid)
Init: pthread_cond_timedwait - EINVAL (mutex invalid)
Init: pthread_cond_timedwait - EINVAL (abstime NULL)
Init: pthread_cond_timedwait - ETIMEDOUT (abstime->tv_sec < current time)
Init: pthread_cond_timedwait - ETIMEDOUT (abstime->tv_nsec < current time)
Init: pthread_cond_wait - EINVAL (mutex not locked before call)
Init: pthread_cond_timedwait - EINVAL (mutex not locked before call)
Init: sleep - switch to Task_3
Task_3: ID is 0x0c010004
Task_3: pthread_cond_wait
Init: pthread_cond_signal
Init: sleep - switch to Task_3
Task_3: pthread_cond_wait - EINVAL (mutex not locked after signal)
Task_3: task exit
*** END OF POSIX TEST 10 ***