Changes between Version 68 and Version 69 of processus_thread
- Timestamp:
- Dec 13, 2017, 3:44:21 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
processus_thread
v68 v69 156 156 === 6.3) destruction scenario === 157 157 158 1. The RPC thread in owner cluster send a multicast and parallel RPC_PROCESS_BLOCK to all clusters containing a copy of the process. In each cluster, this RPC_PROCESS_BLOCK set the BLOCKED_GLOBAL bit and the KILL or EXIT signal 159 for all threads of the process. It returns only when all threads are blocked and descheduled. 158 1. The RPC thread in owner cluster send a multicast and parallel RPC_PROCESS_BLOCK to all clusters containing a copy of the process. In each cluster, this RPC_PROCESS_BLOCK set the BLOCKED_GLOBAL bit and the KILL or EXIT signal, for all threads of the process. It returns only when all threads are blocked and descheduled. 160 159 1. When the RPC thread in owner cluster has received all expected responses to the multi-cast RPC_PROCESS_BLOCK, it send another multicast and parallel RPC_PROCESS_RELEASE to all clusters containing a copy of the process. In each cluster, this RPC releases all memory allocated to the local threads and process. 161 1. When the RPC thread in owner cluster has received all expected responses to the multi-cast RPC_PROCESS_RELEASE, 162 it updates the owner cluster manager to remove the process from the set of owned processes, and this complete the process destruction. 160 1. When the RPC thread in owner cluster has received all expected responses to the multi-cast RPC_PROCESS_RELEASE, it updates the owner cluster manager to remove the process from the set of owned processes, and this complete the process destruction.