Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/fibril_synch.c

    r82453b29 rab6edb6  
    4444#include <stdlib.h>
    4545#include <stdio.h>
    46 #include <io/kio.h>
    47 
    4846#include "private/async.h"
    4947#include "private/fibril.h"
    50 
    51 static fibril_local bool deadlocked = false;
    5248
    5349static void optimize_execution_power(void)
     
    6662{
    6763        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;
    7464
    7565        printf("Deadlock detected.\n");
Note: See TracChangeset for help on using the changeset viewer.