Changeset 266294a9 in mainline for generic/src/synch/spinlock.c
- Timestamp:
- 2006-02-05T17:01:03Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5c9a08b
- Parents:
- 9b9e385
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/synch/spinlock.c
r9b9e385 r266294a9 69 69 preemption_disable(); 70 70 while (test_and_set(&sl->val)) { 71 if (i++ > 300000 ) {71 if (i++ > 300000 && sl!=&printflock) { 72 72 printf("cpu%d: looping on spinlock %p:%s, caller=%p", 73 73 CPU->id, sl, sl->name, CALLER);
Note:
See TracChangeset
for help on using the changeset viewer.