Changeset 450 for trunk/kernel/kern/process.c
- Timestamp:
- Jun 29, 2018, 10:44:14 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/process.c
r446 r450 412 412 cluster_process_copies_unlink( process ); 413 413 414 // remove process from children_list if process owner cluster 414 // remove process from children_list 415 // and release PID if owner cluster 415 416 if( CXY_FROM_PID( pid ) == local_cxy ) 416 417 { … … 429 430 hal_remote_atomic_add( children_nr_xp , -1 ); 430 431 remote_spinlock_unlock( children_lock_xp ); 431 } 432 433 // release the process PID to cluster manager if process owner cluster 434 if( CXY_FROM_PID( pid ) == local_cxy ) cluster_pid_release( pid ); 432 433 // release the process PID to cluster manager 434 cluster_pid_release( pid ); 435 436 } 435 437 436 438 // FIXME close all open files and update dirty [AG] … … 1057 1059 // remove thread from th_tbl[] 1058 1060 process->th_tbl[ltid] = NULL; 1059 process->th_nr --;1061 process->th_nr = count-1; 1060 1062 1061 1063 // release lock protecting th_tbl … … 1065 1067 return (count == 1); 1066 1068 1067 } // process_remove_thread()1069 } // end process_remove_thread() 1068 1070 1069 1071 /////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.