Changes in uspace/lib/c/generic/fibril_synch.c [82453b29:ab6edb6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/fibril_synch.c
r82453b29 rab6edb6 44 44 #include <stdlib.h> 45 45 #include <stdio.h> 46 #include <io/kio.h>47 48 46 #include "private/async.h" 49 47 #include "private/fibril.h" 50 51 static fibril_local bool deadlocked = false;52 48 53 49 static void optimize_execution_power(void) … … 66 62 { 67 63 fibril_t *f = (fibril_t *) fibril_get_id(); 68 69 if (deadlocked) {70 kio_printf("Deadlock detected while printing deadlock. Aborting.\n");71 abort();72 }73 deadlocked = true;74 64 75 65 printf("Deadlock detected.\n");
Note:
See TracChangeset
for help on using the changeset viewer.