aboutsummaryrefslogtreecommitdiffstats
path: root/internal-linux.h
diff options
context:
space:
mode:
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 4fb2ee3..553a783 100644
--- a/internal-linux.h
+++ b/internal-linux.h
@@ -26,13 +26,13 @@ _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 */\
+ /* TODO handle of error in _UNLOCK */\
}\
} while (0)
#define _WAIT(MUTEX)\
do {\
if (syscall(SYS_futex, &(MUTEX), FUTEX_PRIVATE_FLAG | FUTEX_WAIT, 1, NULL, 0, 0) < 0) {\
- /* TODO */\
+ /* TODO handle of error in _WAIT */\
}\
} while (0)