[Squeakfoundation]Two fixes I would like!

Tim Rowledge squeakfoundation@lists.squeakfoundation.org
Tue, 03 Dec 2002 15:27:50 -0800

John M McIntosh <johnmci@smalltalkconsulting.com> is claimed by the authorities to have written:

> One of the issues is that on the mac the millisecond clock starts from  
> zero at application start time, so this code

Possible simple improvement; add a prim to return a seed. Each platform
can do whatever it can plausibly do (sounds like some OSs have some sort
of facility for random) and returns a number. Is a SmallInt good enough
or should we allow LPIs?

If the prim fails then we fall back to the current case and nobody is
any worse off.

Tim Rowledge, tim@sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Strange OpCodes: SDS: Sort of Do Something