Re: [patch] possible SMP races all over the place in wait_event

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 17 Aug 1999 22:57:23 +0100 (BST)


> current->state = TASK_INTERRUPTIBLE;
> + mb();

set_task_state(curremt, TASK_INTERRUPTIBLE) as a macro would be a lot nicer ?

Alan

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