Figure out if a thread is alive in `io-classes`
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- haskell
調査の方向性
まず、threadStatus と ThreadId API に対する既存の io-sim の処理を見つけ、次に threadStatus の削除後にスレッドの生存性がどのように表現されているかを確認します。isAlive :: ThreadId -> Bool の意図されたセマンティクスを定義し、GHC の threadStatus の動作に依存せずに、シミュレートされたシステムでその結果を観測できることを検証します。
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
With the removal of threadStatus support there is no way to figure out, to my best understanding, if a thread is alive or not.
Describe the solution you'd like
Since threadStatus has some issues in GHC, could we perhaps add something like isAlive :: ThreadId -> Bool which should have much clearer semantics?
Describe alternatives you've considered
Not being able to know if a part of your system is alive?
Additional context
This is usually possible in multi-threaded systems you'd like to model with io-sim...
Are you willing to implement it?
- Are you? 😃
- 主要言語
- Haskell
- スター
- 57
- フォーク
- 25
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
IntersectMBO/io-sim のほかの issue
-
Implement a workaround for "Overwhelming the TimerManager"対応中かも @coot が 15 日前に担当しました。 オープンenhancement
IntersectMBO/io-sim#268 · 担当者 1 名 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
IntersectMBO/io-sim#258 ·
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 55/100
IntersectMBO/io-sim#248 · コメント 1 件 ·
-
SimEvent redesignオープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
IntersectMBO/io-sim#244 · コメント 1 件 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 52/100
IntersectMBO/io-sim#221 · コメント 6 件 ·
IntersectMBO/io-sim の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
ndmitchell/ghcid#429 ·
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
alunduil/collection-json.hs#421 ·
メンテナーはふだん 1 日以内に返信
-
A `where` step with a misspelled key, such as `arg:` for `args:`, is accepted, so `join` silently answers no bindings (src/Yaml.hs:190)対応中かも @sherenkov が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
objectionary/phino#1994 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
alunduil/siren-json.hs#259 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100