Changeset 7f1c620 in mainline for test/synch/rwlock4/test.c
- Timestamp:
- 2006-07-04T17:17:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ffa3ef5
- Parents:
- 991779c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/synch/rwlock4/test.c
r991779c5 r7f1c620 51 51 static waitq_t can_start; 52 52 53 __u32seed = 0xdeadbeef;53 uint32_t seed = 0xdeadbeef; 54 54 55 static __u32 random(__u32max);55 static uint32_t random(uint32_t max); 56 56 57 57 static void writer(void *arg); … … 59 59 static void failed(void); 60 60 61 __u32 random(__u32max)61 uint32_t random(uint32_t max) 62 62 { 63 __u32rc;63 uint32_t rc; 64 64 65 65 spinlock_lock(&lock); … … 122 122 { 123 123 context_t ctx; 124 __u32i, k;124 uint32_t i, k; 125 125 126 126 printf("Read/write locks test #4\n");
Note:
See TracChangeset
for help on using the changeset viewer.