Changeset 05e2a7ad in mainline for generic/src/synch/spinlock.c
- Timestamp:
- 2005-12-07T13:32:31Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 839470f
- Parents:
- 253f8590
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/synch/spinlock.c
r253f8590 r05e2a7ad 63 63 void spinlock_lock(spinlock_t *sl) 64 64 { 65 int i = 0;65 count_t i = 0; 66 66 __address caller = ((__address *) &sl)[-1]; 67 67 char *symbol; 68 bool deadlock_reported = false; 68 69 69 70 preemption_disable(); … … 77 78 printf("\n"); 78 79 i = 0; 80 deadlock_reported = true; 79 81 } 80 82 } 83 84 if (deadlock_reported) 85 printf("cpu%d: not deadlocked\n", CPU->id); 81 86 82 87 /*
Note:
See TracChangeset
for help on using the changeset viewer.