> >+#define __wait_event_interruptible(wq, condition) \
>
> Here I think we could add a third param to the macro, that will be the
> retval in the interrupted case. It's zero cost and looks nicer to me.
the macro returns a value just like a function. I chose it because we
usually prefer return values instead of side-effects. And it's not
mandatory to use the return value.
-- mingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/