Changeset 407 for trunk/kernel/syscalls/sys_thread_exit.c
- Timestamp:
- Nov 7, 2017, 3:08:12 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_thread_exit.c
r296 r407 38 38 reg_t irq_state; 39 39 40 // register the exit_value in thread descriptor40 // register the exit_value pointer in thread descriptor 41 41 this->exit_value = exit_value; 42 42 43 // we enter the join loop to wait the join 44 // only if thread is joinable 43 // enter the join loop to wait the join if thread is joinable 45 44 if( (this->flags & THREAD_FLAG_DETACHED) == 0 ) 46 45 { … … 74 73 75 74 // deschedule 76 sched_yield( NULL);75 sched_yield(); 77 76 } 78 77 }
Note: See TracChangeset
for help on using the changeset viewer.