浏览代码

Task.Sleep(0) optimized. Refs: #156.
A task using Sleep(0) runs as fast as possible but without blocking the user interface.
Prime number calculation used as example for background task.
Robustness of trap handling after exhausting the stack space improved.
Coroutines.Init now traps if a coroutine cannot be created.
Otherwise it is hard to see where the problem comes from.

Signed-off-by: Josef Templ <josef.templ@gmail.com>

Josef Templ 8 年之前
父节点
当前提交
f56119eb4d
共有 4 个文件被更改,包括 0 次插入0 次删除
  1. 二进制
      Obx/Docu/Coroutines.odc
  2. 二进制
      Obx/Mod/Coroutines.odc
  3. 二进制
      System/Docu/Coroutines.odc
  4. 二进制
      System/Mod/Coroutines.odc

二进制
Obx/Docu/Coroutines.odc


二进制
Obx/Mod/Coroutines.odc


二进制
System/Docu/Coroutines.odc


二进制
System/Mod/Coroutines.odc