Add some text about locking and multithreading in the game
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
调研方向
没有指定文件或测试。首先查看现有的 Endless Sky 架构文档,并追踪与该请求相关的 threads、classes 和共享数据结构。文档说明使用了哪些 threads、在哪些位置需要 locking,以及 locking 何时适用,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Endless sky appears to use multi-threading and locking.
If developers inexperienced with the codebase (or inexperienced with threading) start making code-changes to structures shared between threads, then the risk of race-conditions and deadlocks could increase.
This request is to get some text in this documentation that describes which threads are used in the game and some text on which classes/areas/datastructures are expected to use locking (and when).
- 主要语言
- CSS
- 星标
- 11
- 派生
- 6
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
endless-sky/docs 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 45/100
endless-sky/docs#1 · 2 个 reaction ·
相似的 Issue
-
documentation
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
deepset-ai/haystack-integrations#817 ·
维护者通常 12 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
ChurchCRM/docs.churchcrm.io#303 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 84/100
ossc-db/pg_hint_plan#255 ·
-
documentation linkinator-failure
难度 2/5 1-3 小时 新手友好度 66/100