Re: [PATCH] posix timers using == instead of & for bitmask tests

From: Roland McGrath
Date: Fri Oct 22 2004 - 22:27:05 EST


> Thanks for answering my mistaken impressions. I saw after I wrote that
> SIGEV_SIGNAL == 0 which makes everything work. And I was laboring under
> the misconception that SIGEV_SIGNAL and SIGEV_THREAD were mutually exclusive
> which isn't true, one always has SIGEV_SIGNAL if SIGEV_THREAD is set.

In the semantic sense they are mutually exclusive. They are not so in the
bitwise sense, because the value is really not a bitmask overall, only the
SIGEV_THREAD_ID bit is used that way.


Thanks,
Roland
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/