OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [tests/] [psxtests/] [psx05/] [psx05.scn] - Blame information for rev 507

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
*** POSIX TEST 5 ***
2
Init's ID is 0x0c010001
3
Init: pthread_mutexattr_init - EINVAL (NULL attr)
4
Init: pthread_mutexattr_init - SUCCESSFUL
5
Init: mutex protocol is (0) -- PTHREAD_PRIO_NONE
6
Init: mutex priority ceiling is 254
7
Init: mutex process shared is (0) -- PTHREAD_PROCESS_PRIVATE
8
Init: pthread_mutexattr_destroy - SUCCESSFUL
9
Init: pthread_mutexattr_destroy - EINVAL (NULL attr)
10
Init: pthread_mutexattr_destroy - EINVAL (not initialized)
11
Init: pthread_mutexattr_getpshared - EINVAL (NULL attr)
12
Init: pthread_mutexattr_getpshared - EINVAL (NULL pshared)
13
Init: pthread_mutexattr_getpshared - EINVAL (not initialized)
14
Init: pthread_mutexattr_setpshared - EINVAL (NULL attr)
15
Init: pthread_mutexattr_setpshared - EINVAL (not initialized)
16
Init: pthread_mutexattr_getprotocol - EINVAL (NULL attr)
17
Init: pthread_mutexattr_getprotocol - EINVAL (NULL protocol)
18
Init: pthread_mutexattr_getprotocol - EINVAL (not initialized)
19
Init: pthread_mutexattr_setprotocol - EINVAL (NULL attr)
20
Init: pthread_mutexattr_setprotocol - EINVAL (invalid protocol)
21
Init: pthread_mutexattr_setprotocol - EINVAL (not initialized)
22
Init: pthread_mutexattr_getprioceiling - EINVAL (NULL attr)
23
Init: pthread_mutexattr_getprioceiling - EINVAL (NULL prioceiling)
24
Init: pthread_mutexattr_getprioceiling - EINVAL (not initialized)
25
Init: pthread_mutexattr_setprioceiling - EINVAL (NULL attr)
26
Init: pthread_mutexattr_setprioceiling - EINVAL (invalid priority)
27
Init: pthread_mutexattr_setprioceiling - EINVAL (not initialized)
28
Init: pthread_mutex_init - EINVAL (NULL mutex_id)
29
Init: pthread_mutex_init - EINVAL (not initialized attr)
30
Init: pthread_mutex_init - EINVAL (bad protocol)
31
Init: pthread_mutex_init - EINVAL (bad priority ceiling)
32
Init: Resetting mutex attributes
33
Init: Changing mutex attributes
34
Init: mutex protocol is (1) -- PTHREAD_PRIO_INHERIT
35
Init: mutex priority ceiling is 128
36
Init: mutex process shared is (1) -- PTHREAD_PROCESS_SHARED
37
Init: Resetting mutex attributes
38
Init: pthread_mutex_init - SUCCESSFUL
39
Init: pthread_mutex_init - EBUSY (reinitialize an existing mutex) - skipped
40
Init: pthread_mutex_trylock - EINVAL (illegal ID)
41
Init: pthread_mutex_trylock - SUCCESSFUL
42
Init: pthread_mutex_trylock - EDEADLK (already locked)
43
Init: pthread_mutex_lock - EDEADLK (already locked)
44
Init: Sleep 1 second
45
Task: pthread_mutex_trylock already locked
46
Task: pthread_mutex_lock unavailable
47
Init: pthread_mutex_unlock - EINVAL (invalid id)
48
Init: pthread_mutex_unlock - SUCCESSFUL
49
Init: pthread_mutex_unlock - EPERM (not owner)
50
Init: pthread_mutex_timedlock - time out in 1/2 second
51
Task: mutex acquired
52
Task: sleep for 2 seconds
53
Init: pthread_mutex_timedlock - EAGAIN (timeout)
54
Init: pthread_mutex_init - SUCCESSFUL
55
Init: pthread_mutex_init - EAGAIN (too many)
56
Init: pthread_mutexattr_destroy - SUCCESSFUL
57
Init: pthread_mutex_destroy - SUCCESSFUL
58
Init: pthread_mutex_destroy - EINVAL (invalid id)
59
Init: pthread_mutexattr_init - SUCCESSFUL
60
Init: pthread_mutex_init - SUCCESSFUL
61
Init: pthread_mutex_trylock - SUCCESSFUL
62
Init: pthread_mutex_destroy - EBUSY (already locked)
63
Init: pthread_mutex_unlock - SUCCESSFUL
64
Init: pthread_mutex_destroy - SUCCESSFUL
65
Init: pthread_mutexattr_init - SUCCESSFUL
66
Init: pthread_mutexattr_setprotocol - SUCCESSFUL (PTHREAD_PRIO_INHERIT)
67
Init: pthread_mutex_init - SUCCESSFUL
68
Init: pthread_mutex_trylock - SUCCESSFUL
69
Init: pthread_setschedparam - Setting Task2 priority to highest
70
Task 2: pthread_mutex_lock unavailable (inherit case)
71
Init: pthread_getschedparam - priority = 254
72
Init: pthread_mutex_unlock - SUCCESSFUL
73
Task 2: mutex acquired
74
Task 2: unlock Mutex 2
75
Task 2: exit
76
Init: pthread_mutexattr_destroy - SUCCESSFUL
77
Init: pthread_mutex_destroy - SUCCESSFUL
78
Init: pthread_mutexattr_init - SUCCESSFUL
79
Init: pthread_mutexattr_setprotocol - SUCCESSFUL (PTHREAD_PRIO_PROTECT)
80
Init: pthread_mutex_init - SUCCESSFUL
81
Init: pthread_mutex_getprioceiling - EINVAL (invalid id)
82
Init: pthread_mutex_getprioceiling - EINVAL (NULL ceiling)
83
Init: pthread_mutex_getprioceiling - 254
84
Init: pthread_mutex_setprioceiling - EINVAL (invalid id)
85
Init: pthread_mutex_setprioceiling - EINVAL (illegal priority)
86
Init: pthread_mutex_setprioceiling - EINVAL (NULL ceiling)
87
Init: pthread_mutex_setprioceiling - new ceiling = 200
88
Init: pthread_mutex_setprioceiling - old ceiling = 254
89
Init: pthread_getschedparam - priority = 2
90
Init: pthread_mutex_trylock - SUCCESSFUL
91
Init: pthread_getschedparam - priority = 200
92
Init: pthread_setschedparam - set Task3 priority to highest
93
Init: Sleep 1 second
94
Task 3: pthread_mutex_lock unavailable (inherit case)
95
Init: pthread_mutex_unlock - SUCCESSFUL
96
Task 3: mutex acquired
97
Task 3: unlock Mutex 2
98
Task 3: pthread_getschedparam priority = 199
99
Task 3: exit
100
Init: pthread_mutex_getprioceiling- ceiling = 200
101
Init: pthread_setschedparam - set Init priority to highest
102
Init: pthread_mutex_lock - EINVAL (priority ceiling violation)
103
*** END OF POSIX TEST 5 ***

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.