You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
FreeRTOS-Kernel/include
Darian 34b8e24d7c
Add support for newlib dynamic reentrancy (#496)
Previously, newlib's _impure_ptr was updated on every context switch
to point to the current task's _reent structure.

However, this behavior is no longer valid on multi-core systems due
to the fact that multiple cores can switch contexts at the same time,
thus leading to the corruption of the _impure_ptr.

However, Newlib can be compiled with __DYNAMIC_REENT__ enabled which
will cause newlib functions to call __getreent() instead in order to
obtain the required reent struct.

This commit adds dynamic reentrancy support to FreeRTOS:

- Added a configNEWLIB_REENTRANT_IS_DYNAMIC to enable dynamic reentrancy support
- _impure_ptr is no longer updated with reentrancy is dynamic
- Port must provide their own __getreent() that returns the current task's reent struct
3 years ago
..
FreeRTOS.h Add support for newlib dynamic reentrancy (#496) 3 years ago
StackMacros.h Add SMP in the License Header (#402) 3 years ago
atomic.h Add SMP in the License Header (#402) 3 years ago
croutine.h Add SMP in the License Header (#402) 3 years ago
deprecated_definitions.h Add SMP in the License Header (#402) 3 years ago
event_groups.h Add SMP in the License Header (#402) 3 years ago
list.h Add SMP in the License Header (#402) 3 years ago
message_buffer.h Add SMP in the License Header (#402) 3 years ago
mpu_prototypes.h Add SMP in the License Header (#402) 3 years ago
mpu_wrappers.h Add SMP in the License Header (#402) 3 years ago
portable.h Add SMP in the License Header (#402) 3 years ago
projdefs.h Add SMP in the License Header (#402) 3 years ago
queue.h Add SMP in the License Header (#402) 3 years ago
semphr.h Add SMP in the License Header (#402) 3 years ago
stack_macros.h Add SMP in the License Header (#402) 3 years ago
stdint.readme Add SMP in the License Header (#402) 3 years ago
stream_buffer.h Add SMP in the License Header (#402) 3 years ago
task.h Add task creation with affinity functions (#470) 3 years ago
timers.h Add SMP in the License Header (#402) 3 years ago