Re: [PATCH 2/8] PM: suspend_block: Add driver to access suspendblockers from user-space

From: Alan Stern
Date: Sun May 02 2010 - 17:56:27 EST


On Sun, 2 May 2010, Rafael J. Wysocki wrote:

> Hmm. It doesn't seem to be possible to create two different suspend blockers
> using the same file handle. So, what exactly is a process supposed to do to
> use two suspend blockers at the same time?

Open the file twice, thereby obtaining two file handles.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/