diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-12-18 10:48:35 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-12-18 10:48:35 +0100 |
commit | 8ce00eaf48bfb3b2a1da8875550662945db0f5f0 (patch) | |
tree | 9d53dbdcce16d9957b1e55c9fe9eb1dbd6f26fdb | |
parent | 864d3475a5b6fa9f4c93ee68953074dabf5177b2 (diff) |
posix: Delete unused _POSIX_Threads_Get()
Close #1759.
-rw-r--r-- | cpukit/posix/include/rtems/posix/pthreadimpl.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/cpukit/posix/include/rtems/posix/pthreadimpl.h b/cpukit/posix/include/rtems/posix/pthreadimpl.h index bf2d68ec9d..d0dc330643 100644 --- a/cpukit/posix/include/rtems/posix/pthreadimpl.h +++ b/cpukit/posix/include/rtems/posix/pthreadimpl.h @@ -97,27 +97,6 @@ RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free( ); /** - * @brief Map POSIX thread IDs to control blocks. - * - * This function maps pthread IDs to pthread control blocks. - * If ID corresponds to a local pthread, then it returns - * the_pthread control pointer which maps to ID and location - * is set to OBJECTS_LOCAL. if the pthread ID is global and - * resides on a remote node, then location is set to OBJECTS_REMOTE, - * and the_pthread is undefined. Otherwise, location is set - * to OBJECTS_ERROR and the_pthread is undefined. - * - * @param[in] id is the id to lookup - * @param[in] location points to the returned location value - * - * @return This methods returns a pointer to the corresponding Thread_Control. - */ -RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Get( - pthread_t id, - Objects_Locations *location -); - -/** * @brief POSIX threads initialize user threads body. * * This routine initializes the thread attributes structure. @@ -225,19 +204,6 @@ RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free ( } /* - * _POSIX_Threads_Get - */ - -RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Get ( - pthread_t id, - Objects_Locations *location -) -{ - return (Thread_Control *) - _Objects_Get( &_POSIX_Threads_Information, (Objects_Id)id, location ); -} - -/* * _POSIX_Threads_Initialize_attributes */ |