On Friday, 13. February 2009, Matthew Garrett wrote: > Userland ABI would then be a single /dev/inhibit_suspend, > with the counter being bumped each time an application opens it. It'll > automatically be dropped if the application exits without cleaning up. > > This seems simpler and also avoids any arguments about the naming > scheme. What am I missing? Opening and closing an fd sounds like a lot of overhead. Taking and releasing locks if going to be a called with very highg frequency. I'd go for an ioctl. Uli -- ------- ROAD ...the handyPC Company - - - ) ) ) Uli Luckas Head of Software Development ROAD GmbH Bennigsenstr. 14 | 12159 Berlin | Germany fon: +49 (30) 230069 - 62 | fax: +49 (30) 230069 - 69 url: www.road.de Amtsgericht Charlottenburg: HRB 96688 B Managing director: Hans-Peter Constien _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm