Add mechanism for event driven app to wait efficiently
@zpostfacto がすでに取り組んでいます。
2019年1月29日 から。
評価
この issue はまだ評価されていません。
説明
We've been designing for real-time apps that "tick" on a relatively high frequency, and that will poll for messages at this interval.
We should provide a mechanism for apps that don't fit this model, e.g. the more traditional event-driven server model where you select()/poll() and then wake up and process the event immediately.
I think the simplest way to do this is to provide a config parameter that specifies a callback when a new message arrives. The intention would be that the app would use some mechanism (e.g. set an event on windows) to wake up their other thread that is actually going to do the work. I'm worried that somebody will actually try to process the message in the callback, and that would probably be bad. If necessary, we could put these callbacks on another thread, so that they cannot shoot themselves in the foot by doing dumb stuff.
- 主要言語
- C++
- スター
- 10k
- フォーク
- 750
- 平均マージ
- 5日 19時間
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ValveSoftware/GameNetworkingSockets のほかの issue
-
Native ICE TURN failover fails when the servers use different credentials対応中かも @PerryLink が 2 日前に担当しました。 オープン
難易度 3/5 半日 初心者へのやさしさ 66/100
-
Native ICE resolves STUN/TURN hostnames under the global lock対応中かも @tintinhamans が 16 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
-
WebRTC ICE keeps an idle thread per STUN/TURN hostname lookup対応中かも @tintinhamans が 16 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
ValveSoftware/GameNetworkingSockets#439 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
ValveSoftware/GameNetworkingSockets#425 · コメント 7 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
ValveSoftware/GameNetworkingSockets の issue をすべて見る
似ている issue
-
bug derived types format I/O medium priority semantics
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
CartLineConstraint Jacobian always writes 6 rows, overruns when indices has fewer than 6 entriesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
tesseract-robotics/trajopt#618 ·
メンテナーはふだん 1 日以内に返信
-
Incorrect Link in README.md対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
flameshot-org/flameshot#4996 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
utopia-rise/godot-jvm#1004 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 3 日以内に返信