thread.getTimeSlice
| Syntax |
thread.getTimeSlice ()
|
| Params |
None.
|
| Action |
Gets the time slice for the current thread.
|
| Returns |
A number.
|
| Examples |
thread.getTimeSlice () » 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 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.setTimeSlice
|