[C#] スレッド同期と ThreadPool を理解する Jun 27, 2026 bucket-sort 複数スレッドから共有データを扱うときの問題を、lock、Monitor、Interlocked でどう防ぐかを整理し、Timer コールバックと ThreadPool の基本も確認します。