Ignore:
File:
1 edited

Legend:

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

    rac9e79d r88cc71c0  
    6464IRQ_SPINLOCK_INITIALIZE(tasks_lock);
    6565
    66 /** Ordered dictionary of active tasks.
     66/** Ordered dictionary of active tasks by task ID.
     67 *
     68 * Members are task_t structures.
    6769 *
    6870 * The task is guaranteed to exist after it was found in the @c tasks
     
    252254        futex_task_init(task);
    253255
     256        /*
     257         * Get a reference to the address space.
     258         */
     259        as_hold(task->as);
     260
    254261        irq_spinlock_lock(&tasks_lock, true);
    255262
Note: See TracChangeset for help on using the changeset viewer.