Changeset 201abde in mainline for kernel/test/synch/rwlock3.c
- Timestamp:
- 2007-04-07T20:06:52Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7e58979
- Parents:
- 6adbe3c2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/synch/rwlock3.c
r6adbe3c2 r201abde 46 46 47 47 if (!sh_quiet) 48 printf("cpu%d, tid % d: trying to lock rwlock for reading....\n", CPU->id, THREAD->tid);48 printf("cpu%d, tid %llu: trying to lock rwlock for reading....\n", CPU->id, THREAD->tid); 49 49 50 50 rwlock_read_lock(&rwlock); … … 52 52 53 53 if (!sh_quiet) { 54 printf("cpu%d, tid % d: success\n", CPU->id, THREAD->tid);55 printf("cpu%d, tid % d: trying to lock rwlock for writing....\n", CPU->id, THREAD->tid);54 printf("cpu%d, tid %llu: success\n", CPU->id, THREAD->tid); 55 printf("cpu%d, tid %llu: trying to lock rwlock for writing....\n", CPU->id, THREAD->tid); 56 56 } 57 57 … … 60 60 61 61 if (!sh_quiet) 62 printf("cpu%d, tid % d: success\n", CPU->id, THREAD->tid);62 printf("cpu%d, tid %llu: success\n", CPU->id, THREAD->tid); 63 63 64 64 atomic_dec(&thread_count);
Note:
See TracChangeset
for help on using the changeset viewer.