Changeset 581 for trunk/kernel/kern/rpc.c
- Timestamp:
- Oct 10, 2018, 3:11:53 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/rpc.c
r564 r581 142 142 client_core_lid = this->core->lid; 143 143 144 // check calling thread can yield when it is not the idlethread145 assert( (this->busylocks == 0) || (this->type == THREAD_IDLE), 146 "cannot yield : busylocks = %d\n", this->busylocks);144 // check calling thread can yield when client thread is not the IDLE thread 145 // RPCs executed by the IDLE thread during kernel_init do not deschedule 146 if( this->type != THREAD_IDLE ) thread_assert_can_yield( this , __FUNCTION__ ); 147 147 148 148 #if DEBUG_RPC_CLIENT_GENERIC … … 204 204 205 205 // wait RPC completion before returning if blocking RPC : 206 // - descheduling without blocking if thread idle (in lernel init)206 // - descheduling without blocking if thread idle (in kernel init) 207 207 // - block and deschedule policy for any other thread 208 208 if ( rpc->blocking )
Note: See TracChangeset
for help on using the changeset viewer.