Changeset 5 for trunk/kernel/kern/signal.h
- Timestamp:
- Apr 26, 2017, 2:11:56 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/signal.h
r1 r5 128 128 { 129 129 sa_handler_t * sigactions[SIG_NR]; 130 sterstruct thread_s * handler;130 struct thread_s * handler; 131 131 } 132 132 sig_mgr_t; … … 145 145 146 146 /******************************************************************************************* 147 * This function TODO 147 * This function register the signal <sig> in the bit_vector of all threads of a given 148 * process identified by its <pid>, in all clusters containing threads for this process. 149 * It can be executed by any thread running in any cluster, as this function uses 150 * remote access to traverse the list of process copies, and the RPC_RISE_SIGNAL 151 * to deliver the signal to all involved clusters. 152 * The list of process copies is rooted in the owner cluster. 148 153 ******************************************************************************************/ 149 154 int sys_kill( pid_t pid, … … 156 161 157 162 /******************************************************************************************* 158 * This function TODO 163 * This function register the signal <sig> in the bit-vector of all threads of a given 164 * process identified by its <pid>, in a given cluster. 165 * It must be executed by a thread running in the same cluster as the target threads 166 * (can be a local thread or a RPC thread). 159 167 ******************************************************************************************/ 160 error_t signal_init( struct thread_s * thread ); 161 162 /******************************************************************************************* 163 * This function register the signal <sig> in the bit-vector of all threads of a given 164 * process identified by its <pid>, on all clusters containing a thread . 165 * It can be executed by any thread running in any cluster. 166 ******************************************************************************************/ 167 error_t signal_rise( pid_t pid, 168 uint32_t sig ); 168 error_t signal_rise( struct process_s * process, 169 uint32_t sig ); 169 170 170 171 /*******************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.