lean-ja / lean-ja/lean-by-example
並行プログラミングの例。重い操作の実行を決まった時間だけ待つ操作
Open
Nobody has claimed this yet.
要調査
- Dominant language
- Lean
- Stars
- 188
- Forks
- 15
- Avg merge
- 9h 8m
- Merged PRs (30d)
- 6
Description
たとえば1時間くらいかかるかもしれない重い計算があるとして、20秒までは待ってもいいけど20秒経った時点で処理を中断したいとき。
秒数のカウントと、重い処理を並行で処理する必要がある。
これはどのように実装できるだろうか?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no file, test, or entry point; first clarify where concurrency examples belong and what timeout and interruption behavior the Lean example should demonstrate. Done should be a documented, runnable example showing the requested fixed-time waiting behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100