diff options
Diffstat (limited to 'cpukit/score/src/threadqextractwithproxy.c')
-rw-r--r-- | cpukit/score/src/threadqextractwithproxy.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/score/src/threadqextractwithproxy.c b/cpukit/score/src/threadqextractwithproxy.c index 72043a094d..9bbf9c6f64 100644 --- a/cpukit/score/src/threadqextractwithproxy.c +++ b/cpukit/score/src/threadqextractwithproxy.c @@ -37,14 +37,16 @@ void _Thread_queue_Extract_with_proxy( state = the_thread->current_state; if ( _States_Is_waiting_for_rpc_reply( state ) && _States_Is_locally_blocked( state ) ) { + Objects_Id id; Objects_Information *the_information; Objects_Thread_queue_Extract_callout proxy_extract_callout; - the_information = _Objects_Get_information_id( the_thread->Wait.id ); + id = the_thread->Wait.id; + the_information = _Objects_Get_information_id( id ); proxy_extract_callout = the_information->extract; if ( proxy_extract_callout != NULL ) - (*proxy_extract_callout)( the_thread ); + (*proxy_extract_callout)( the_thread, id ); } #endif |