mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-06-25 06:33:23 +00:00
![]() TimeoutState now introduces a TIMESLICE, which is the maximum period of time a computer can run before we will look into pausing it. When we have executed a task for more than this period, and if there are other computers waiting to execute work, then we will suspend the machine. Suspending the machine sets a flag on the ComputerExecutor, and pauses the "cumulative" time - the time spent handling this particular event. When resuming the machine, we restart our timer and resume the machine. |
||
---|---|---|
.. | ||
java/dan200/computercraft |