Commit c575689d authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

posix-timers: Comment SIGEV_THREAD_ID properly

parent 52f090b1
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -53,10 +53,7 @@ static const struct k_clock * const posix_clocks[];
static const struct k_clock *clockid_to_kclock(const clockid_t id);
static const struct k_clock clock_realtime, clock_monotonic;

/*
 * we assume that the new SIGEV_THREAD_ID shares no bits with the other
 * SIGEV values.  Here we put out an error if this assumption fails.
 */
/* SIGEV_THREAD_ID cannot share a bit with the other SIGEV values. */
#if SIGEV_THREAD_ID != (SIGEV_THREAD_ID & \
			~(SIGEV_SIGNAL | SIGEV_NONE | SIGEV_THREAD))
#error "SIGEV_THREAD_ID must not share bit with other SIGEV values!"