From 2c4f665818316f7b6d96bd8a7ca45b608c25879c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 22 Apr 2022 21:25:46 +0200 Subject: Housekeeping MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- internal-linux.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal-linux.h') 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) -- cgit v1.2.3-70-g09d2