Changeset 281 for trunk/kernel/kern


Ignore:
Timestamp:
Jul 27, 2017, 10:23:27 AM (7 years ago)
Author:
max@…
Message:

The thread has already been registered in thread_user_create, so don't
register it twice.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/process.c

    r279 r281  
    729729        hal_remote_atomic_add( XPTR( parent_cxy , &parent_ptr->children_nr) , 1 );
    730730
    731         // register thread in scheduler
    732         sched_register_thread( core , thread );
    733 
    734731    // activate new thread
    735732        thread_unblock( XPTR( local_cxy , thread ) , THREAD_BLOCKED_GLOBAL );
Note: See TracChangeset for help on using the changeset viewer.