summaryrefslogtreecommitdiffhomepage
path: root/src/libSystem/SystemKit/Macros.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-17 06:20:16 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-03-17 06:20:16 +0100
commitfc6606edf84e483b780f5c0b990d355aab4dae8a (patch)
tree78264cd5e168bee24d011597145b4c1f063187b9 /src/libSystem/SystemKit/Macros.h
parent3f47c53398a2cd10fe1b205e1393c3ceab4c675c (diff)
[FEAT] Thread safe attribute as compiler extension of NeSystem's GCC.HEADdevelop
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/libSystem/SystemKit/Macros.h')
-rw-r--r--src/libSystem/SystemKit/Macros.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libSystem/SystemKit/Macros.h b/src/libSystem/SystemKit/Macros.h
index 37150b01..14918c41 100644
--- a/src/libSystem/SystemKit/Macros.h
+++ b/src/libSystem/SystemKit/Macros.h
@@ -15,6 +15,9 @@
#define ATTRIBUTE(X) __attribute__((X))
+#define __THREAD_SAFE ATTRIBUTE(thread_safe)
+#define __THREAD_UNSAFE
+
#define IMPORT_CXX extern "C++"
#define IMPORT_C extern "C"