Changeset 12c38f5 in mainline
- Timestamp:
- 2010-10-25T18:48:26Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 619e2a6b
- Parents:
- 1fa010c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/fibril_synch.c
r1fa010c r12c38f5 73 73 fibril_t *f = (fibril_t *) fibril_get_id(); 74 74 75 printf("Deadlock detected: "); 75 printf("Deadlock detected.\n"); 76 stacktrace_print(); 76 77 77 78 printf("Fibril %p waits for primitive %p.\n", f, oi); 78 stacktrace_print();79 79 80 80 while (oi && oi->owned_by) { 81 printf(". ");82 81 printf("Primitive %p is owned by fibril %p.\n", 83 82 oi, oi->owned_by); 83 if (oi->owned_by == f) 84 break; 84 85 stacktrace_print_fp_pc(oi->owned_by->ctx.ebp, 85 86 oi->owned_by->ctx.pc); 86 if (oi->owned_by == f)87 break;88 87 printf("Fibril %p waits for primitive %p.\n", 89 88 oi->owned_by, oi->owned_by->waits_for);
Note:
See TracChangeset
for help on using the changeset viewer.