Function
Sets the pre-emption interval used in thread-interleaving mode.
MLWORKS.Threads.Internal.Preemption
MLWorks.Threads.Internal.Preemption
val set_interval : int -> unit
set_interval interval -> ()
()
Sets the pre-emption interval, in milliseconds. The interval is the period for which a thread will evaluate in thread-interleaving mode before it is pre-empted by the next thread.
The default interval value is 0. If the interval is set to 0, the thread mechanism behaves as though interleaving mode were switched off.
get_interval, page 60
on, page 61