lean-ja / lean-ja/lean-by-example

並行プログラミングの例。重い操作の実行を決まった時間だけ待つ操作

Open
#1,307 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.