lkml.org 
[lkml]   [2008]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC] schedule_timeout_range()
Date
Nick Piggin <nickpiggin@yahoo.com.au> wrote:

> The only thing I dislike about explicit times is that when a driver or
> someone doesn't _really_ know how much to specify. Do you say 10s, 100s?
> It shouldn't be arbitrary, but we should have a few constants I think.

You'd replace "Should I use 10 or 100 seconds?" with "Should I use
TIMEOUT_10_SEC or TIMEOUT_100_SEC?", while replacing "I want 40 seconds!"
with "Danmed, I want 40 seconds, but that's not an option!".

BTW: If you don't know about which timeout you should use, you should think
about mowing the lawn instead. ¢¢


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

\
 
 \ /
  Last update: 2008-07-23 13:51    [W:0.038 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site