Messages in this thread | ![/](/images/icornerl.gif) | | From | Rusty Russell <> | Subject | __set_current_state() suckage... | Date | Mon, 22 Jul 2002 15:35:24 +1000 |
| |
Should we rename __set_current_state to set_current_state, and put the mb() inside add_wait_queue(), add_wait_queue_exclusive() and maybe add_wait_queue_cond()?
People are getting confused by set_current_state() vs __set_current_state(), esp. since it's only meaningful for TASK_INTERRUPTIBLE/UNINTERRUPTIBLE.
Thoughts? Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |