]> git.neil.brown.name Git - susman.git/commit
Require process requesting immediate suspend to remain active.
authorNeilBrown <neilb@suse.de>
Fri, 16 Mar 2012 01:49:52 +0000 (12:49 +1100)
committerNeilBrown <neilb@suse.de>
Fri, 16 Mar 2012 01:49:52 +0000 (12:49 +1100)
commitf91fe8b5ea62420edc412664808ccba29453568d
tree5fc70e891ecfbed5fb09b0190fc9892e2ab4b0db
parent992741d7702ce8ae149b62e0fb9358b762478963
Require process requesting immediate suspend to remain active.

The process that creates 'immediate' must do so while disabling
suspend and must take a lock on the file.
If the process dies, this lock will disappear and auto-suspension
will stop.
This is a good fail-safe for development.

Might be good to make it configurable later.

Signed-off-by: NeilBrown <neilb@suse.de>
lsusd.c