Re: handling failure in suspend() during autosuspend

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Am Freitag 05 Oktober 2007 schrieb Alan Stern:
> On Fri, 5 Oct 2007, Oliver Neukum wrote:
> 
> > Am Freitag 05 Oktober 2007 schrieb Alan Stern:
> > > As far as the race is concerned...  In practice it shouldn't matter
> > > unless autosuspend_delay is set to 0.  I suppose autosuspend_check()  
> > > could take an extra "reschedule" flag.  If the flag was set, the
> > > routine would schedule another autosuspend attempt (with a 1-second
> > > delay) if the idle-time period had already expired.
> > 
> > OK. Like this?
> 
> I had in mind something a little more cautious, like this:

That's fine by me.

	Thanks
		Oliver


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.