29#pragma clang diagnostic ignored "-Wempty-translation-unit"
34#if defined(__ARM_EABI__)
48#if defined(OS_INCLUDE_ATEXIT_STATIC) && !defined(__EXCEPTIONS)
81#if defined(OS_TRACE_LIBC_ATEXIT)
90#if !defined(OS_INTEGER_ATEXIT_ARRAY_SIZE)
93#define OS_INTEGER_ATEXIT_ARRAY_SIZE (3)
125 void *arg __attribute__((unused)),
126 void *d __attribute__((unused)))
141 __atexit_functions[__atexit_count++] = fn;
149 void* d __attribute__((unused)))
154 for (
size_t i = __atexit_count; i > 0;)
156 __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,...)