Pretty much the title says it all: I want to have multiple producers that all write to the same channel. I will then have one consumer that reads the data from this channel. Do the producers need to acquire a lock before calling put!
?
Thanks!
Pretty much the title says it all: I want to have multiple producers that all write to the same channel. I will then have one consumer that reads the data from this channel. Do the producers need to acquire a lock before calling put!
?
Thanks!
yes (edit: answering to the title)
no (edit: answering to the text)