チャネルがバッファされていない場合、送信側は受信側が値を受け取るまでブロックします。チャネルにバッファがある場合、送信側は値がバッファにコピーされるまでブロックします。バッファがいっぱいであれば、受信

akatakunakatakun のブックマーク 2018/12/07 14:56

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Why does the use of an unbuffered channel in the same goroutine result in a deadlock?

    Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technolo...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう