Changeset 443 for trunk/kernel/syscalls/sys_exit.c
- Timestamp:
- May 16, 2018, 4:15:22 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_exit.c
r441 r443 51 51 #endif 52 52 53 // get owner process descriptor pointers and cluster54 xptr_t owner_xp = cluster_get_owner_process_from_pid( pid );53 // get owner process descriptor pointers 54 xptr_t owner_xp = process->owner_xp; 55 55 cxy_t owner_cxy = GET_CXY( owner_xp ); 56 56 process_t * owner_ptr = GET_PTR( owner_xp ); … … 62 62 hal_enable_irq( &save_sr ); 63 63 64 // mark for delete all process threads in all clusters 65 // (but the main thread and this calling thread)64 // mark for delete all process threads in all clusters, 65 // but the main thread and this calling thread 66 66 process_sigaction( pid , DELETE_ALL_THREADS ); 67 67 … … 81 81 #if( DEBUG_SYS_EXIT & 1) 82 82 if( tm_start > DEBUG_SYS_EXIT ) 83 printk("\n[DBG] %s : calling thread %x deleted itself/ process %x\n",83 printk("\n[DBG] %s : calling thread %x marked iself for delete / process %x\n", 84 84 __FUNCTION__ , this, pid ); 85 85 #endif
Note: See TracChangeset
for help on using the changeset viewer.