Changeset 438 for trunk/kernel/kern/rpc.h
- Timestamp:
- Apr 4, 2018, 2:49:02 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/rpc.h
r437 r438 111 111 { 112 112 rpc_index_t index; /*! index of requested RPC service */ 113 volatile uint32_t response ; /*! all responses received when 0*/113 volatile uint32_t responses; /*! number of expected responses */ 114 114 struct thread_s * thread; /*! local pointer on client thread */ 115 115 uint32_t lid; /*! index of core running the calling thread */ … … 150 150 151 151 /*********************************************************************************** 152 * This function is the entry point for RPC handling on the server side.153 * It is executed by a core receiving an IPI, and each time the core enters,154 * or exit the kernel to handle.155 * It does nothing and return if the RPC_FIFO is empty.156 * The calling thread checks if it exist at least one non-blocked RPC thread,157 * creates a new RPC if required, and deschedule to allowthe RPC thead to execute.152 * This function is the entry point for RPC handling on the server cluster. 153 * It is executed by the core receiving the IPI sent by the client thread. 154 * - If the RPC FIFO is empty, it deschedules. 155 * - If the RPC FIFO is not empty, it checks if it exist a non-blocked RPC thread 156 * in the cluster, creates a new one if required, and deschedule to allow 157 * the RPC thead to execute. 158 158 **********************************************************************************/ 159 159 void rpc_check();
Note: See TracChangeset
for help on using the changeset viewer.