contification paper

Stephen Weeks MLton@sourcelight.com
Thu, 8 Mar 2001 13:59:35 -0800 (PST)


> For real times?

For all the fields of struct tms.
       struct  tms  {
                    clock_t tms_utime;  /* user time */
                    clock_t tms_stime;  /* system time */
                    clock_t tms_cutime; /* user time of children */
                    clock_t tms_cstime; /* system time of children */
                    };

> I would say no way.  I suppose it might happen on a machine
> with more than 1 CPU since I think there are some hacks using the CPU time-stamp
> register, and they aren't precisely synchronized with 2 CPUs.  Even then I
> would be very very surprised if it actually happened.
> I guess it could also happen if you changed the date by hand.  NNTP, the network
> time daemon shouldn't cause this to happen since it speeds up or slows down the
> clock, it doesn't reset it.

It's happening to Matthew.  I'll let him describe his config.

It hasn't happened to me yet on my two processor, NNTP enabled machine.