Upgrade to Pro — share decks privately, control downloads, hide ads and more …

並行処理(超入門)

ryo takaya
May 24, 2023
10

 並行処理(超入門)

ryo takaya

May 24, 2023
Tweet

Transcript

  1. - fork-joinモデル - プログラムの処理を分岐させて親と子で並行に実行する - fork : goroutineを発生させて分岐する - join

    : 分岐元の親のgoroutineと合流する 分岐元のgoroutineが先に終了した場合、分岐先のgoroutineが実行されず終了する