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 53... | Line 53... | ||
53 | rwlock_read_lock(&rwlock); |
53 | rwlock_read_lock(&rwlock); |
54 | rwlock_read_unlock(&rwlock); |
54 | rwlock_read_unlock(&rwlock); |
55 | printf("Test passed.\n"); |
55 | printf("Test passed.\n"); |
56 | } |
56 | } |
57 | 57 | ||
58 | char * test_rwlock2(void) |
58 | char * test_rwlock2(bool quiet) |
59 | { |
59 | { |
60 | thread_t *thrd; |
60 | thread_t *thrd; |
61 | 61 | ||
62 | rwlock_initialize(&rwlock); |
62 | rwlock_initialize(&rwlock); |
63 | 63 |