Re: Fw: [PATCH] Fix mq_notify with SIGEV_NONE notification

From: Manfred Spraul
Date: Tue Apr 13 2004 - 23:53:59 EST


Hi Jakub,

Jakub wrote:

mq_notify (q, NULL)
and
struct sigevent ev = { .sigev_notify = SIGEV_NONE };
mq_notify (q, &ev)
are not the same thing in POSIX, yet the kernel treats them the same.

What should mq_notify(q, &{.sigev_notify = SIGEV_NONE}) do? Register a notification, but deliver nothing?

--
Manfred

-
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/