Subversion Repositories HelenOS

Rev

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

Rev 2854 Rev 2865
Line 434... Line 434...
434
        if (task->dt_state == UDEBUG_TS_BEGINNING ||
434
        if (task->dt_state == UDEBUG_TS_BEGINNING ||
435
            task->dt_state == UDEBUG_TS_ACTIVE) {
435
            task->dt_state == UDEBUG_TS_ACTIVE) {
436
            t->debug_active = true;
436
            t->debug_active = true;
437
        }
437
        }
438
    }
438
    }
439
 
-
 
440
    /* FIXME: this must be done very carefully.. an unstoppable
-
 
441
       thread cannot appear just-so, it must be possible to catch it. */
-
 
442
    if (t->flags & THREAD_FLAG_USPACE)
-
 
443
        ++task->not_stoppable_count;
-
 
444
}
439
}
445
 
440
 
446
/** Add thread to the threads tree.
441
/** Add thread to the threads tree.
447
 *
442
 *
448
 * Interrupts must be already disabled.
443
 * Interrupts must be already disabled.