Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
CherrPy サーバーをブロッキング/非スレッド サーバーとして使用することは可能ですか (デバッグを容易にするためですか?)
いいえ。wsgiserver は独自のワーカー スレッドのセットを開始するだけではありません (デフォルトでは 10 ですが、1 つしか指定していない場合でも、リッスン ソケット用の 1 つのスレッドと 1 つのワーカー スレッドになります)。そうでない場合でも、CherryPy の残りの部分 (エンジン) を使用すると、その 1 つのリスナー スレッドがメイン スレッドとは別のスレッドで実行されます。