Should thread creation be fallible?
维护者通常 4 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- wasm
调研方向
Read the issue’s proposal about thread.new-indirect and its comparison with pthread_create; the payload does not name a specification file, test, or implementation entry point. Decide whether thread creation failure should be reported to the guest, and define the failure result and its behavior before this can be considered done.
由索引模型根据 Issue 内容生成。
描述
Right now thread.new-indirect unconditionally returns a new thread, meaning that if a host doesn't actually have the resources to allocate a thread then the only thing it can do is trap. APIs like pthread_create can communicate thread creation failure, however, and in theory a -1 sentinel or similar here should be possible, so I wanted to ask the question -- should thread.new-indirect grow the ability to inform the guest in a non-fatal way that thread creation failed? Perhaps by returning -1?
- 主要语言
- WebAssembly
- 星标
- 1.4k
- 派生
- 132
- 平均合并
- 4 天 14 小时
- 30 天内合并 PR
- 12
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
WebAssembly/component-model 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
WebAssembly/component-model#609 · 2 条评论 · 1 个 reaction ·
维护者通常 4 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
WebAssembly/component-model#753 · 1 条评论 · 1 个 reaction ·
维护者通常 4 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
WebAssembly/component-model#752 · 13 条评论 · 1 个 reaction ·
维护者通常 4 天内回复
-
Does `task.return`'s memory strictly match the canon-lifted function, or only match when present?未关闭
难度 5/5 一周以上 新手友好度 18/100
WebAssembly/component-model#749 · 2 条评论 ·
维护者通常 4 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
WebAssembly/component-model#743 · 1 条评论 ·
维护者通常 4 天内回复
查看 WebAssembly/component-model 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 69/100
NethermindEth/pluto#722 ·
-
Incorrect alerting threshold for intra-broker replica movement causes spurious "execution too slow" alerts可能已有人在做 @KumKeeHyun 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 88/100
cruise-control-for-kafka/cruise-control#2487 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
-
Ingester: a recovered panic in `instance.Push` leaves `chunkMtx` locked and blocks all pushes可能已有人在做 @helmipradita 今天认领。 未关闭type/bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
[Bug] Shared expert W2 requires more simultaneously resident blocks than CPU-SIM provides可能已有人在做 @chenshengxin2026 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
hw-native-sys/pypto-lib#1686 ·
维护者通常 1 天内回复