Changeset 8ce00eaf in rtems


Ignore:
Timestamp:
Dec 18, 2014, 9:48:35 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
0a78992
Parents:
864d3475
Message:

posix: Delete unused _POSIX_Threads_Get()

Close #1759.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/include/rtems/posix/pthreadimpl.h

    r864d3475 r8ce00eaf  
    9595RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free(
    9696  Thread_Control *the_pthread
    97 );
    98 
    99 /**
    100  * @brief Map POSIX thread IDs to control blocks.
    101  *
    102  * This function maps pthread IDs to pthread control blocks.
    103  * If ID corresponds to a local pthread, then it returns
    104  * the_pthread control pointer which maps to ID and location
    105  * is set to OBJECTS_LOCAL.  if the pthread ID is global and
    106  * resides on a remote node, then location is set to OBJECTS_REMOTE,
    107  * and the_pthread is undefined.  Otherwise, location is set
    108  * to OBJECTS_ERROR and the_pthread is undefined.
    109  *
    110  * @param[in] id is the id to lookup
    111  * @param[in] location points to the returned location value
    112  *
    113  * @return This methods returns a pointer to the corresponding Thread_Control.
    114  */
    115 RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Get(
    116   pthread_t          id,
    117   Objects_Locations *location
    11897);
    11998
     
    226205
    227206/*
    228  *  _POSIX_Threads_Get
    229  */
    230 
    231 RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Get (
    232   pthread_t          id,
    233   Objects_Locations *location
    234 )
    235 {
    236   return (Thread_Control *)
    237     _Objects_Get( &_POSIX_Threads_Information, (Objects_Id)id, location );
    238 }
    239 
    240 /*
    241207 * _POSIX_Threads_Initialize_attributes
    242208 */
Note: See TracChangeset for help on using the changeset viewer.