thread.getDefaultTimeSlice

Syntax thread.getDefaultTimeSlice ()

Params None.

Action Gets the default time slice for Frontier threads.

Returns A number.

Examples thread.getDefaultTimeSlice ()

   » 6

Notes The time slice is the number of ticks after which the current thread will swap itself out and yield control of the processor to another thread that's ready to run.

The normal default time slice for one-shot threads is six. The default for the agents thread is four.

This verb was new in Frontier 6.2.

See Also thread.getTimeSlice

thread.setTimeSlice

thread.setDefaultTimeSlice

thread.getStats

Discuss