Changeset 62b6d17 in mainline for kernel/generic/src/main/kinit.c


Ignore:
Timestamp:
2006-12-14T16:47:36Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
aeaebcc
Parents:
55cc9bc
Message:

introduce uncounted threads, whose accounting doesn't affect accumulated task accounting
run tests in kconsole thread again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/kinit.c

    r55cc9bc r62b6d17  
    9999                 * Just a beautification.
    100100                 */
    101                 if ((t = thread_create(kmp, NULL, TASK, THREAD_FLAG_WIRED, "kmp"))) {
     101                if ((t = thread_create(kmp, NULL, TASK, THREAD_FLAG_WIRED, "kmp", true))) {
    102102                        spinlock_lock(&t->lock);
    103103                        t->cpu = &cpus[0];
     
    124124                for (i = 0; i < config.cpu_count; i++) {
    125125
    126                         if ((t = thread_create(kcpulb, NULL, TASK, THREAD_FLAG_WIRED, "kcpulb"))) {
     126                        if ((t = thread_create(kcpulb, NULL, TASK, THREAD_FLAG_WIRED, "kcpulb", true))) {
    127127                                spinlock_lock(&t->lock);                       
    128128                                t->cpu = &cpus[i];
     
    144144         * Create kernel console.
    145145         */
    146         if ((t = thread_create(kconsole, "kconsole", TASK, 0, "kconsole")))
     146        if ((t = thread_create(kconsole, "kconsole", TASK, 0, "kconsole", false)))
    147147                thread_ready(t);
    148148        else
Note: See TracChangeset for help on using the changeset viewer.