Rev 534 | Rev 1062 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 534 | Rev 692 | ||
|---|---|---|---|
| Line 68... | Line 68... | ||
| 68 | void test(void) |
68 | void test(void) |
| 69 | { |
69 | { |
| 70 | int i; |
70 | int i; |
| 71 | thread_t *thrd; |
71 | thread_t *thrd; |
| 72 | 72 | ||
| 73 | printf("Read/write locks test #2\n"); |
73 | printf("Read/write locks test #3\n"); |
| 74 | 74 | ||
| 75 | rwlock_initialize(&rwlock); |
75 | rwlock_initialize(&rwlock); |
| 76 | 76 | ||
| 77 | rwlock_write_lock(&rwlock); |
77 | rwlock_write_lock(&rwlock); |
| 78 | 78 | ||