Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/ipc.c

    r07d4271 rb169619  
    967967void ipc_print_task(task_id_t taskid)
    968968{
     969        irq_spinlock_lock(&tasks_lock, true);
    969970        task_t *task = task_find_by_id(taskid);
    970         if (!task)
     971        if (!task) {
     972                irq_spinlock_unlock(&tasks_lock, true);
    971973                return;
     974        }
     975        task_hold(task);
     976        irq_spinlock_unlock(&tasks_lock, true);
    972977
    973978        printf("[phone cap] [calls] [state\n");
Note: See TracChangeset for help on using the changeset viewer.