Messages in this thread | | | Date | Mon, 22 Nov 2004 21:56:20 +0100 | From | Martin Waitz <> | Subject | Re: [patch 4/4] char/snsc: reorder set_current_state() and add_wait_queue() |
| |
hoi :)
On Sat, Nov 20, 2004 at 03:47:03AM +0100, janitor@sternwelten.at wrote: > Description: Reorder add_wait_queue() and set_current_state() as a > signal could be lost in between the two functions.
couldn't you loose a wake event that way?
Perhaps you want to use prepare_to_wait()?
-- Martin Waitz [unhandled content-type:application/pgp-signature] | |