Avatar
omochimetaru 6/17/2021 4:40 AM
それ自体はsemaphreで書けるね
4:40 AM
関数を結果が来るまでブロックして、 別スレッドでその割り込み処理をやって結果を渡して、 ブロックしてたスレッドを起こす。