Jun 22, 2018

[Go] golang memory model - with unbuffered channel

reference:

There is a difference between:
make(chan int) // unbuffered equals to make(chan int, 0)
with
make(chan int, 1) // buffered

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.