Changeset 443 for trunk/kernel/kern/cluster.h
- Timestamp:
- May 16, 2018, 4:15:22 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/cluster.h
r440 r443 61 61 * Warning : the "owner" cluster, and the "reference" cluster can be different clusters. 62 62 * 63 * The process manager of a cluster K maintains three structures: 64 * 1) The pref_tbl[] is an array indexed by lpid. There is one entry per owned process. 63 * The process manager of a cluster K maintains three sets of process descriptors: 64 * 65 * 1) pref_tbl[] is an array indexed by lpid. There is one entry per owned process. 65 66 * Each entry contains an extended pointer on the reference process descriptor. 66 67 * 67 * 2) The local_root is the root of the local list of process descriptors in cluster K.68 * 2) The local_root is the root of the local list of all process descriptors in cluster K. 68 69 * A process descriptor P is present in K, as soon as P has a thread in cluster K. 69 70 * … … 187 188 /****************************************************************************************** 188 189 * This function returns an extended pointer on the process descriptor in owner cluster 189 * from the process PID. This PID can be be different from the calling process PID.190 * from the process <pid>. This PID can be be different from the calling process PID. 190 191 * It can be called by any thread running in any cluster, 191 192 ****************************************************************************************** … … 197 198 /****************************************************************************************** 198 199 * This function returns an extended pointer on the reference process descriptor 199 * from the process PID. This PID can be be different from the calling process PID.200 * from the process <pid>. This PID can be be different from the calling process PID. 200 201 * It can be called by any thread running in any cluster, 201 202 ****************************************************************************************** … … 204 205 *****************************************************************************************/ 205 206 xptr_t cluster_get_reference_process_from_pid( pid_t pid ); 207 208 /****************************************************************************************** 209 * This function returns an extended pointer on the process descriptor copy for the 210 * process identified by <pid> in cluster defined by <cxy> argument. 211 * This PID can be be different from the calling process PID. 212 * It can be called by any thread running in any cluster, 213 ****************************************************************************************** 214 * @ cxy : target cluster identifier. 215 * @ pid : process identifier. 216 * @ return extended pointer on reference process if found / XPTR_NULL if not found. 217 *****************************************************************************************/ 218 xptr_t cluster_get_process_from_pid_in_cxy( cxy_t cxy, 219 pid_t pid ); 206 220 207 221 /******************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.