We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52f090b commit c575689Copy full SHA for c575689
kernel/time/posix-timers.c
@@ -53,12 +53,9 @@ static const struct k_clock * const posix_clocks[];
53
static const struct k_clock *clockid_to_kclock(const clockid_t id);
54
static const struct k_clock clock_realtime, clock_monotonic;
55
56
-/*
57
- * we assume that the new SIGEV_THREAD_ID shares no bits with the other
58
- * SIGEV values. Here we put out an error if this assumption fails.
59
- */
+/* SIGEV_THREAD_ID cannot share a bit with the other SIGEV values. */
60
#if SIGEV_THREAD_ID != (SIGEV_THREAD_ID & \
61
- ~(SIGEV_SIGNAL | SIGEV_NONE | SIGEV_THREAD))
+ ~(SIGEV_SIGNAL | SIGEV_NONE | SIGEV_THREAD))
62
#error "SIGEV_THREAD_ID must not share bit with other SIGEV values!"
63
#endif
64
0 commit comments