Rev 2071 | Rev 3069 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2071 | Rev 2745 | ||
---|---|---|---|
Line 67... | Line 67... | ||
67 | } |
67 | } |
68 | 68 | ||
69 | char * test_rwlock5(bool quiet) |
69 | char * test_rwlock5(bool quiet) |
70 | { |
70 | { |
71 | int i, j, k; |
71 | int i, j, k; |
72 | count_t readers, writers; |
72 | long readers, writers; |
73 | 73 | ||
74 | waitq_initialize(&can_start); |
74 | waitq_initialize(&can_start); |
75 | rwlock_initialize(&rwlock); |
75 | rwlock_initialize(&rwlock); |
76 | 76 | ||
77 | for (i = 1; i <= 3; i++) { |
77 | for (i = 1; i <= 3; i++) { |