Re: setitimer will need a range check
- From: John Harper <jsh unfactored org>
- To: Michal Jaegermann <michal harddata com>
- Cc: sawfish-list gnome org
- Subject: Re: setitimer will need a range check
- Date: Fri, 29 Dec 2006 17:43:54 -0800
On Dec 29, 2006, at 2:05 PM, Michal Jaegermann wrote:
On Fri, Dec 29, 2006 at 12:41:35PM -0800, John Harper wrote:
It's a long time since I've looked at this code, but it looks like
this is what the fix_time function in that file is trying to
achieve -
i.e. ensure that 0 <= msecs < 1000.
Indeed, this is a miliseconds range and that would be somewhat
narrower than a microseconds range allowed by setitimer(). A small
problem is that fix_time is not doing what is advertised unless
changed in such way:
thanks - I'll commit that change as soon as cvs.gnome.org is writable
again (they're currently transitioning to subversion)
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]