>>249
ハンドル-オブジェクトのテーブルがスレッド固有とかいろいろ。
詳しくはこの辺
ttps://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_multithreading.3a_.programming_tips.asp