Changeset 43114c5 in mainline for src/synch/spinlock.c
- Timestamp:
- 2005-04-09T18:22:53Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8262010
- Parents:
- e6ba9a3f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/synch/spinlock.c
re6ba9a3f r43114c5 50 50 while (test_and_set(&sl->val)) { 51 51 if (i++ > 300000) { 52 printf("cpu%d: looping on spinlock %X, caller=%X\n", the->cpu->id, sl, caller);52 printf("cpu%d: looping on spinlock %X, caller=%X\n", CPU->id, sl, caller); 53 53 i = 0; 54 54 }
Note:
See TracChangeset
for help on using the changeset viewer.