lkml.org 
[lkml]   [2010]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/8] PM: suspend_block: Add driver to access suspend blockers from user-space
    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



    \
     
     \ /
      Last update: 2010-05-02 23:59    [W:0.017 / U:30.620 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site