sleeping barber problem
(computing theory) A problem of interprocess communication and synchronization where one process responds to requests from multiple other threads and sleeps when not doing so. In some cases this may lead to an undesirable state where components are waiting for each other despite being ready.
コンピュータサイエンスにおける同期の問題を指し、1つのプロセス(またはスレッド)が複数の他のスレッドからの要求に応答し、要求がない時は休止状態(睡眠状態)に入る状況を表す。これにより、場合によっては各構成要素が互いに待ち状態になり、デッドロックや効率低下といった問題を引き起こす可能性がある。
( plural )
復習用の問題
(computing theory) A problem of interprocess communication and synchronization where one process responds to requests from multiple other threads and sleeps when not doing so. In some cases this may lead to an undesirable state where components are waiting for each other despite being ready.
sleeping barber problem
During code review, we realized the sleeping barber problem was causing the server thread to sleep while clients queued indefinitely, so we refactored the synchronization logic.
During code review, we realized the sleeping barber problem was causing the server thread to sleep while clients queued indefinitely, so we refactored the synchronization logic.
英語 - 多言語
- 項目の編集権限を持つユーザー - すべてのユーザー
- 項目の新規作成を審査する
- 項目の編集を審査する
- 項目の削除を審査する
- 重複の恐れのある項目名の追加を審査する
- 項目名の変更を審査する
- 審査に対する投票権限を持つユーザー - 編集者
- 決定に必要な投票数 - 1
- 例文の編集権限を持つユーザー - すべてのユーザー
- 例文の削除を審査する
- 審査に対する投票権限を持つユーザー - 編集者
- 決定に必要な投票数 - 1
- 問題の編集権限を持つユーザー - すべてのユーザー
- 審査に対する投票権限を持つユーザー - 編集者
- 決定に必要な投票数 - 1