SuperTinyKernel™ RTOS
1.08.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
Loading...
Searching...
No Matches
signal.h
Go to the documentation of this file.
1
/*
2
* SuperTinyKernel(TM) RTOS: Lightweight High-Performance Deterministic C++ RTOS for Embedded Systems.
3
*
4
* Source: https://github.com/SuperTinyKernel-RTOS
5
*
6
* Copyright (c) 2022-2026 Neutron Code Limited <stk@neutroncode.com>. All Rights Reserved.
7
* License: MIT License, see LICENSE for a full text.
8
*/
9
10
#ifndef STK_C_SIGNAL_POSIX_H_
11
#define STK_C_SIGNAL_POSIX_H_
12
29
30
/* the layer's pthread types first (this also installs the guard against the toolchain's own pthread types) */
31
#include <
stk_c_pthread.h
>
32
33
#ifndef _POSIX_THREADS
34
#define _POSIX_THREADS 200809L
35
#define STK_C_SIGNAL_DEFINED_POSIX_THREADS
36
#endif
37
38
#ifndef STK_C_SYSTEM_SIGNAL_H
39
#if defined(__GNUC__) || defined(__clang__)
40
#include_next <signal.h>
41
#else
42
#error "Define STK_C_SYSTEM_SIGNAL_H to the toolchain's signal.h for this compiler"
43
#endif
44
#else
45
#include STK_C_SYSTEM_SIGNAL_H
46
#endif
47
48
#ifdef STK_C_SIGNAL_DEFINED_POSIX_THREADS
49
#undef _POSIX_THREADS
50
#undef STK_C_SIGNAL_DEFINED_POSIX_THREADS
51
#endif
52
53
#endif
/* STK_C_SIGNAL_POSIX_H_ */
stk_c_pthread.h
A minimal, POSIX-named pthreads-style API for STK. The public interface is self-contained (it needs n...
interop
posix
include
signal.h
Generated by
1.16.1