Changeset 373 for trunk/kernel/kern/process.c
- Timestamp:
- Aug 14, 2017, 2:43:27 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/process.c
r367 r373 245 245 if( process->th_nr != 0 ) 246 246 { 247 printk("\n[PANIC] in %s : process %x in cluster %x has still active threads\n", 248 __FUNCTION__ , process->pid , local_cxy ); 249 hal_core_sleep(); 247 panic("process %x in cluster %x has still active threads\n", 248 process->pid , local_cxy ); 250 249 } 251 250 … … 590 589 void process_remove_thread( thread_t * thread ) 591 590 { 592 if( thread == NULL ) 593 { 594 printk("\n[PANIC] in %s : thread argument is NULL\n", __FUNCTION__ ); 595 hal_core_sleep(); 596 } 591 assert( (thread != NULL) , __FUNCTION__ , "thread argument is NULL" ); 597 592 598 593 process_t * process = thread->process;
Note: See TracChangeset
for help on using the changeset viewer.