Re: Incorrect behavior of timer_settime() for absolute dates inthe past

From: Thomas Gleixner
Date: Thu Nov 30 2006 - 08:26:25 EST


On Fri, 2006-11-17 at 10:11 +0100, John wrote:
> value specified by the it_value member of value. If the specified time
> has already passed, the function shall succeed and the expiration
> notification shall be made."

That's exactly what the implementation does:

The functions succeeds (return value is 0) and then the notification is
made. There is _NO_ requirement that the signal is delivered before the
function returns to user space. I could be implemented, but I'm not sure
if it is worth the effort.

tglx





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