Messages in this thread | | | Subject | Re: schedule() "spaghetti" in 2.3.2 .. | Date | Tue, 25 May 1999 17:47:16 +0100 (BST) | From | Alan Cox <> |
| |
> I've proposed to Linus a solution that IMVHO keep the code in schedule() > a little bit cleaner. > This is what I suggest : > > #define block_begin(f) begin_##f: > #define block_end(f) goto ret_##f > #define block_call(f) goto begin_##f; ret_##f:
Why does replacing a goto with a macro that hides the fact its a goto make stuff cleaner. You would be better off working out how to add some kind of
if __attribute((normally true)) ....
to gcc
- 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/
| |