14#pragma clang diagnostic ignored "-Wempty-translation-unit"
19#if defined(__ARM_EABI__)
23#if defined(OS_USE_OS_APP_CONFIG_H)
24#include <cmsis-plus/os-app-config.h>
37#if defined(OS_INCLUDE_ATEXIT_STATIC) && !defined(__EXCEPTIONS)
70#if defined(OS_TRACE_LIBC_ATEXIT)
79#if !defined(OS_INTEGER_ATEXIT_ARRAY_SIZE)
82#define OS_INTEGER_ATEXIT_ARRAY_SIZE (3)
114 void *arg __attribute__((unused)),
115 void *d __attribute__((unused)))
130 __atexit_functions[__atexit_count++] = fn;
138 void* d __attribute__((unused)))
143 for (
size_t i = __atexit_count; i > 0;)
145 __atexit_functions[--i] ();
void(* exit_func_t)(void)
void __call_exitprocs(int, void *)
int __register_exitproc(int, exit_func_t fn, void *, void *)
Scheduler critical section RAII helper.
#define OS_INTEGER_ATEXIT_ARRAY_SIZE
Define the size of the atexit() array.
Single file µOS++ RTOS definitions.
int trace_printf(const char *format,...)