guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: proposed getitimer and setitimer functions


From: Rob Browning
Subject: Re: proposed getitimer and setitimer functions
Date: 10 Jul 2001 16:04:57 -0500
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Rob Browning <address@hidden> writes:

> Marius Vollmer <address@hidden> writes:
> 
> > What about collapsing the "secs" and "microsecs" value into one, with
> > a unit of microseconds.  With bignums, we don't need to use long-hand
> > for multi-word numbers.
> 
> So is there a "standard" way to check the range of the bignum and
> break it up into two long ints.  Last time I tried this, I had to go
> to some trouble on the scm side, but I think that may have been
> because I was tring to accomodate older guiles and the bit shifting
> ops were broken.

For now, I'm going to commit the versions that explicitly require two
longs (and so match the C call semantics exactly), but we can easily
change them easily to take bignums as soon as we reach a consensus,
presumably before the 1.6 release -- in fact, I'll add a TODO item.

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C  64AE 78FE E5FE F0CB A0AD



reply via email to

[Prev in Thread] Current Thread [Next in Thread]