Subversion Repositories HelenOS

Rev

Rev 2801 | Rev 2808 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2801 Rev 2804
Line 410... Line 410...
410
     */
410
     */
411
    ipl = interrupts_disable();
411
    ipl = interrupts_disable();
412
    spinlock_lock(&task->lock);
412
    spinlock_lock(&task->lock);
413
    atomic_inc(&task->refcount);
413
    atomic_inc(&task->refcount);
414
    atomic_inc(&task->lifecount);
414
    atomic_inc(&task->lifecount);
-
 
415
    ++task->not_stoppable_count;
415
    list_append(&t->th_link, &task->th_head);
416
    list_append(&t->th_link, &task->th_head);
416
    spinlock_unlock(&task->lock);
417
    spinlock_unlock(&task->lock);
417
 
418
 
418
    /*
419
    /*
419
     * Register this thread in the system-wide list.
420
     * Register this thread in the system-wide list.