瀏覽代碼

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