Changeset 14 for trunk/kernel/kern/process.c
- Timestamp:
- May 3, 2017, 1:23:24 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/process.c
r5 r14 24 24 */ 25 25 26 #include < almos_config.h>26 #include <kernel_config.h> 27 27 #include <hal_types.h> 28 28 #include <hal_remote.h> … … 546 546 bool_t found; 547 547 548 if( process == NULL ) 549 { 550 printk("\n[PANIC] in %s : process argument is NULL\n", __FUNCTION__ ); 551 hal_core_sleep(); 552 } 553 if( thread == NULL ) 554 { 555 printk("\n[PANIC] in %s : thread argument is NULL\n", __FUNCTION__ ); 556 hal_core_sleep(); 557 } 548 assert( (process != NULL) , __FUNCTION__ , "process argument is NULL" ); 549 550 assert( (thread != NULL) , __FUNCTION__ , "thread argument is NULL" ); 558 551 559 552 // search a free slot in th_tbl[]
Note: See TracChangeset
for help on using the changeset viewer.