Add docs/threading-model.md stating the normative rule (any access to mcrfpy objects from a non-main thread must happen inside `with mcrfpy.lock():`; behavior outside the lock is undefined), the FrameLock/safe-window design, and a worked worker-thread example. Strengthen the mcrfpy.lock() docstring to state the contract with an MCRF_LINK to the new page. closes #327 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cookbook | ||
| stubs | ||
| templates | ||
| tutorials | ||
| api-audit-2026-04.md | ||
| api_reference_complete.html | ||
| API_REFERENCE_COMPLETE.md | ||
| api_reference_dynamic.html | ||
| API_REFERENCE_DYNAMIC.md | ||
| EMSCRIPTEN_RESEARCH.md | ||
| ISSUE_TRIAGE_2026-04.md | ||
| mcrfpy.3 | ||
| PROCEDURAL_GENERATION_SPEC.md | ||
| threading-model.md | ||
| WASM_TROUBLESHOOTING.md | ||