tag
#threading
2 items (2 fixes)
fixes
✓ 26.07.22
"Blocking the main thread on a GameTask.RunInThreadAsync result is a permanent deadlock"
Calling .Result or .Wait() on the main thread against a Task from GameTask.RunInThreadAsync deadlocks forever, silently. The process stays alive and the window still responds, but the frame loop is dead. Only join these tasks with await, or compute synchronously on the main thread.
threadingasync
✓ 26.07.08e
"Chunked mesh generation is math-bound, not draw-call-bound"
For a chunked runtime-mesh generator, REGEN (single-threaded generation CPU) is the binding resource, not fps or draw calls. Quartering the chunk count produces zero regen change; the lever is threading the passes.
performanceprocgen