Changeset d07f582 in rtems
- Timestamp:
- 06/15/16 05:59:33 (7 years ago)
- Branches:
- 5, master
- Children:
- 5d65d0dd
- Parents:
- 6a631da
- git-author:
- Sebastian Huber <sebastian.huber@…> (06/15/16 05:59:33)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (06/15/16 06:05:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/posix/include/rtems/posix/pthreadimpl.h
r6a631da rd07f582 51 51 */ 52 52 extern pthread_attr_t _POSIX_Threads_Default_attributes; 53 54 /**55 * @brief Copy POSIX Thread attribute structure.56 *57 * This routine copies the attr2 thread attribute structure58 * to the attr1 Thread Attribute structure.59 *60 * @param[in] dst_attr is a pointer to the thread attribute61 * structure to copy into.62 *63 * @param[out] src_attr is a pointer to the thread attribute64 * structure to copy from.65 */66 RTEMS_INLINE_ROUTINE void _POSIX_Threads_Copy_attributes(67 pthread_attr_t *dst_attr,68 const pthread_attr_t *src_attr69 );70 71 /**72 * @brief Free POSIX control block.73 *74 * This routine frees a pthread control block to the75 * inactive chain of free pthread control blocks.76 *77 * @param[in] the_pthread is a pointer to the thread to free.78 */79 RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free(80 Thread_Control *the_pthread81 );82 83 /**84 * @brief POSIX threads initialize user threads body.85 *86 * This routine initializes the thread attributes structure.87 */88 RTEMS_INLINE_ROUTINE void _POSIX_Threads_Initialize_attributes(89 pthread_attr_t *attr90 );91 53 92 54 /** … … 156 118 } 157 119 158 /*159 * _POSIX_Threads_Copy_attributes160 */161 162 120 RTEMS_INLINE_ROUTINE void _POSIX_Threads_Copy_attributes( 163 121 pthread_attr_t *dst_attr, … … 174 132 } 175 133 176 /*177 * _POSIX_Threads_Free178 */179 180 134 RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free ( 181 135 Thread_Control *the_pthread … … 184 138 _Objects_Free( &_POSIX_Threads_Information.Objects, &the_pthread->Object ); 185 139 } 186 187 /*188 * _POSIX_Threads_Initialize_attributes189 */190 140 191 141 RTEMS_INLINE_ROUTINE void _POSIX_Threads_Initialize_attributes( … … 199 149 } 200 150 201 /*202 * _POSIX_Threads_Is_null203 */204 205 RTEMS_INLINE_ROUTINE bool _POSIX_Threads_Is_null (206 Thread_Control *the_pthread207 )208 {209 return !the_pthread;210 }211 212 151 /** @} */ 213 152
Note: See TracChangeset
for help on using the changeset viewer.