Rev 2042 | Rev 2053 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2042 | Rev 2050 | ||
---|---|---|---|
Line 111... | Line 111... | ||
111 | thread_usleep(30000); |
111 | thread_usleep(30000); |
112 | rwlock_read_unlock(&rwlock); |
112 | rwlock_read_unlock(&rwlock); |
113 | printf("cpu%d, tid %d r-\n", CPU->id, THREAD->tid); |
113 | printf("cpu%d, tid %d r-\n", CPU->id, THREAD->tid); |
114 | } |
114 | } |
115 | 115 | ||
116 | char * test_rwlock4(void) |
116 | char * test_rwlock4(bool quiet) |
117 | { |
117 | { |
118 | context_t ctx; |
118 | context_t ctx; |
119 | uint32_t i, k; |
119 | uint32_t i, k; |
120 | 120 | ||
121 | waitq_initialize(&can_start); |
121 | waitq_initialize(&can_start); |