Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/task.c

    r03a8a8e r2f2beb4  
    125125{
    126126        size_t tasks_left;
     127
     128        if (ipc_phone_0) {
     129                task_t *task_0 = ipc_phone_0->task;
     130                ipc_phone_0 = NULL;
     131                /*
     132                 * The first task is held by kinit(), we need to release it or
     133                 * it will never finish cleanup.
     134                 */
     135                task_release(task_0);
     136        }
    127137       
    128138        /* Repeat until there are any tasks except TASK */
     
    196206        task->ucycles = 0;
    197207        task->kcycles = 0;
    198        
     208
    199209        task->ipc_info.call_sent = 0;
    200210        task->ipc_info.call_received = 0;
Note: See TracChangeset for help on using the changeset viewer.