Ignore:
File:
1 edited

Legend:

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

    raae365bc rabf6c01  
    120120                thread = thread_create(kmp, NULL, TASK,
    121121                    THREAD_FLAG_UNCOUNTED, "kmp");
    122                 if (thread != NULL) {
    123                         thread_wire(thread, &cpus[0]);
    124                         thread_ready(thread);
    125                 } else
     122                if (!thread)
    126123                        panic("Unable to create kmp thread.");
    127124
     125                thread_wire(thread, &cpus[0]);
     126                thread_ready(thread);
    128127                thread_join(thread);
    129128                thread_detach(thread);
Note: See TracChangeset for help on using the changeset viewer.