A `BufferedSource` cannot be used across threads s...
# squarelibraries
j
A
BufferedSource
cannot be used across threads so both loops need to be removed or you need to use synchronization. If you want to transfer data across threads in real-time you should use a
Pipe
.