> > I vote for Integer as opposed to (sec,usec). I guess that C uses two
> > longs because it did not have a longer type, but we do have a longer
> > type, so why not use it? I really can't think about a reason to use
> > (sec,usec)...
> > 
> 
> Uhm, because you have to interface to a C function that takes (sec,usec)?
> i.e., the extra range you get from using Integer is useless.

I think using an Integer is sensible.  As Marcin says, the (sec,usec)
pair is an artifact and it would be nice to make the interface a
little cleaner.  If the Integer is greater than 2^64-1 then simply
pass NULL to select(): I think 595 000 years is near enough forever
given current operating systems...

--KW 8-)


-- 
: Keith Wansbrough, MSc, BSc(Hons) (Auckland) -------------------:
: PhD Student, Computer Laboratory, University of Cambridge, UK. :
: Native of Antipodean Auckland, New Zealand: 174d47'E, 36d55'S. :
: http://www.cl.cam.ac.uk/users/kw217/ mailto:[EMAIL PROTECTED] :
:----------------------------------------------------------------:


Reply via email to