Changeset 8ce00eaf in rtems
- Timestamp:
- 12/18/14 09:48:35 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 0a78992
- Parents:
- 864d3475
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/posix/include/rtems/posix/pthreadimpl.h
r864d3475 r8ce00eaf 95 95 RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free( 96 96 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 returns104 * the_pthread control pointer which maps to ID and location105 * is set to OBJECTS_LOCAL. if the pthread ID is global and106 * resides on a remote node, then location is set to OBJECTS_REMOTE,107 * and the_pthread is undefined. Otherwise, location is set108 * to OBJECTS_ERROR and the_pthread is undefined.109 *110 * @param[in] id is the id to lookup111 * @param[in] location points to the returned location value112 *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 *location118 97 ); 119 98 … … 226 205 227 206 /* 228 * _POSIX_Threads_Get229 */230 231 RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Get (232 pthread_t id,233 Objects_Locations *location234 )235 {236 return (Thread_Control *)237 _Objects_Get( &_POSIX_Threads_Information, (Objects_Id)id, location );238 }239 240 /*241 207 * _POSIX_Threads_Initialize_attributes 242 208 */
Note: See TracChangeset
for help on using the changeset viewer.