2 ms·
BlockingQueue is a kind of channel already, what are you thinking to add? And to the main point, of course, Java has plenty of thread comrunioation possibiliti
by avodonosov 3y ago
BlockingQueue is a kind of channel already, what are you thinking to add?
And to the main point, of course, Java has plenty of thread comrunioation possibilities, Loom just makes threads cheaper.
- pron 3y ago> BlockingQueue is a kind of channel already, what are you thinking to add? The main difference between a channel and a BlockingQueue is that a channel can be closed, i.e. it allows one or both sides to signal the other that they're done producing/consuming. > And to the main point, of course, Java has plenty of thread comrunioation possibilities, Loom just makes threads cheaper. Definitely.