task_clock_stop
| Definition: | task_clock_stop() |
| Description: | Stop the scheduling of real-time tasks. Scheduling will resume when task_clock_start() is called. Time-shared tasks can continue. The current task can also continue, unless it is a real-time task and it yields. |
| pwa/p2js: | Not supported. |
| Comments: | Call task_clock_stop() when you want to take time out from scheduling real-time tasks.
For instance, you want to temporarily suspend a game or simulation for a period of time.
The time() function is not affected by this. |
| Implementation: | See builtins\VM\pTask.e (an autoinclude) for details of the actual implementation. |
| See Also: | task_clock_start, task_schedule, task_yield, task_suspend |