diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/threadmp.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/threadmp.h b/cpukit/score/include/rtems/score/threadmp.h index 5dc5c7ebec..46add28c13 100644 --- a/cpukit/score/include/rtems/score/threadmp.h +++ b/cpukit/score/include/rtems/score/threadmp.h @@ -91,6 +91,17 @@ Thread_Control *_Thread_MP_Find_proxy ( */ void _Thread_MP_Free_proxy( Thread_Control *the_thread ); +RTEMS_INLINE_ROUTINE bool _Thread_MP_Is_remote( Objects_Id id ) +{ + Objects_Information *information; + + information = _Thread_Get_objects_information( id ); + if ( information == NULL ) { + return false; + } + + return _Objects_MP_Is_remote( information, id ) == OBJECTS_REMOTE; +} /**@}*/ |