Rev 2042 | Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2042 | Rev 2050 | ||
---|---|---|---|
Line 64... | Line 64... | ||
64 | rwlock_read_lock(&rwlock); |
64 | rwlock_read_lock(&rwlock); |
65 | atomic_inc(&items_read); |
65 | atomic_inc(&items_read); |
66 | rwlock_read_unlock(&rwlock); |
66 | rwlock_read_unlock(&rwlock); |
67 | } |
67 | } |
68 | 68 | ||
69 | char * test_rwlock5(void) |
69 | char * test_rwlock5(bool quiet) |
70 | { |
70 | { |
71 | int i, j, k; |
71 | int i, j, k; |
72 | count_t readers, writers; |
72 | count_t readers, writers; |
73 | 73 | ||
74 | waitq_initialize(&can_start); |
74 | waitq_initialize(&can_start); |