Re: [patch 4/4] char/snsc: reorder set_current_state() and add_wait_queue()

Martin Waitz
2004-11-22T21:05:48Z

[-- Attachment #1: Type: text/plain, Size: 321 bytes --]

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]