Changeset 1dde3b61 in mainline
- Timestamp:
- 2005-09-01T11:30:46Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- db3341e
- Parents:
- e3b9572
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/synch/rwlock4/test.c
re3b9572 r1dde3b61 63 63 pri_t pri; 64 64 65 pri = cpu_priority_high();66 65 spinlock_lock(&lock); 67 66 rc = seed % max; 68 67 seed = (((seed<<2) ^ (seed>>2)) * 487) + rc; 69 68 spinlock_unlock(&lock); 70 cpu_priority_restore(pri);71 69 return rc; 72 70 }
Note:
See TracChangeset
for help on using the changeset viewer.