Changeset 05ac47d in rtems
- Timestamp:
- Sep 5, 2014, 7:13:46 AM (6 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 07b4594
- Parents:
- 4d5250c
- git-author:
- Sebastian Huber <sebastian.huber@…> (09/05/14 07:13:46)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (09/08/14 05:53:02)
- Location:
- cpukit/posix
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/posix/include/rtems/posix/key.h
r4d5250c r05ac47d 69 69 * @brief The thread specific POSIX key value. 70 70 */ 71 constvoid *value;71 void *value; 72 72 } POSIX_Keys_Key_value_pair; 73 73 -
cpukit/posix/src/keysetspecific.c
r4d5250c r05ac47d 50 50 if ( p != NULL ) { 51 51 value_pair_ptr = POSIX_KEYS_RBTREE_NODE_TO_KEY_VALUE_PAIR( p ); 52 value_pair_ptr->value = value;52 value_pair_ptr->value = RTEMS_DECONST( void *, value ); 53 53 } else { 54 54 value_pair_ptr = _POSIX_Keys_Key_value_pair_allocate(); … … 62 62 value_pair_ptr->key = key; 63 63 value_pair_ptr->thread = executing; 64 value_pair_ptr->value = value;64 value_pair_ptr->value = RTEMS_DECONST( void *, value ); 65 65 /* The insert can only go wrong if the same node is already in a unique 66 66 * tree. This has been already checked with the _RBTree_Find() */
Note: See TracChangeset
for help on using the changeset viewer.