Ignore:
Timestamp:
Aug 14, 2017, 2:51:39 PM (7 years ago)
Author:
max@…
Message:

Use panic().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/scheduler.c

    r337 r374  
    133133    if( thread_can_yield() == false )
    134134    {
    135         printk("\n[PANIC] in %s : thread %x in process %x on core[%x][%d]"
    136                " did not released all locks\n",
    137                __FUNCTION__ , thread->trdid , thread->process->pid,
    138                local_cxy , thread->core->lid );
    139         hal_core_sleep();
     135        panic("thread %x in process %x on core[%x][%d]"
     136              " did not released all locks",
     137              thread->trdid , thread->process->pid,
     138              local_cxy , thread->core->lid );
    140139    }
    141140
Note: See TracChangeset for help on using the changeset viewer.