Changeset b3ac6a8d in rtems for c/src/exec/libcsupport
- Timestamp:
- 09/12/95 19:45:42 (28 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 3652ad35
- Parents:
- 4b61ebfb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/libcsupport/src/newlibc.c
r4b61ebfb rb3ac6a8d 120 120 * tid of 0, which is treated specially (optimized, actually) 121 121 * by rtems_task_set_note 122 */ 123 124 impure_value = (rtems_unsigned32) _REENT; 125 MY_task_set_note(current_task, LIBC_NOTEPAD, impure_value); 122 * 123 * NOTE: The above comment is no longer true and we need to use 124 * the extension data areas added about the same time. 125 */ 126 127 /* 128 * Don't touch the outgoing task if it has been deleted. 129 */ 130 131 if ( !_States_Is_transient( current_task->current_state ) ) { 132 impure_value = (rtems_unsigned32) _REENT; 133 MY_task_set_note(current_task, LIBC_NOTEPAD, impure_value); 134 } 126 135 127 136 _REENT = (struct _reent *) MY_task_get_note(heir_task, LIBC_NOTEPAD); … … 172 181 } 173 182 174 if (ptr) 183 /* if (ptr) */ 184 if (ptr && ptr != &libc_global_reent) 175 185 { 176 186 _wrapup_reent(ptr);
Note: See TracChangeset
for help on using the changeset viewer.