aboutsummaryrefslogtreecommitdiffstats
path: root/internal-linux.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-04-22 21:25:46 +0200
committerMattias Andrée <maandree@kth.se>2022-04-22 21:25:46 +0200
commit2c4f665818316f7b6d96bd8a7ca45b608c25879c (patch)
treee2b4b9401b6d21a66d5303838b8eab2f542399ca /internal-linux.h
parentHousekeeping and documentation (diff)
downloadlibaxl-2c4f665818316f7b6d96bd8a7ca45b608c25879c.tar.gz
libaxl-2c4f665818316f7b6d96bd8a7ca45b608c25879c.tar.bz2
libaxl-2c4f665818316f7b6d96bd8a7ca45b608c25879c.tar.xz
Housekeeping
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--internal-linux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal-linux.h b/internal-linux.h
index 6a4103f..6e6e380 100644
--- a/internal-linux.h
+++ b/internal-linux.h
@@ -26,7 +26,7 @@ _Static_assert(sizeof(MUTEX) == sizeof(uint32_t));
do {\
atomic_store(&(MUTEX), 0);\
if (syscall(SYS_futex, &(MUTEX), FUTEX_PRIVATE_FLAG | FUTEX_WAKE, INT_MAX, NULL, 0, 0) < 0) {\
- /* TODO handle of error in _UNLOCK */\
+ /* XXX handle of error in _UNLOCK */\
abort();\
}\
} while (0)
@@ -34,7 +34,7 @@ _Static_assert(sizeof(MUTEX) == sizeof(uint32_t));
#define _WAIT(MUTEX)\
do {\
if (syscall(SYS_futex, &(MUTEX), FUTEX_PRIVATE_FLAG | FUTEX_WAIT, 1, NULL, 0, 0) < 0) {\
- /* TODO handle of error in _WAIT */\
+ /* XXX handle of error in _WAIT */\
abort();\
}\
} while (0)