Previous - Next
Thread::Queue
- I also needed to pass packets from one thread to another
- When the reader thread receives data, it interprets it and decides how to respond
- This response packet has to be sent out by the writer thread
- I also simulate incoming data when a line is read from
STDIN
- This data has to be sent out by the writer, as well
Previous - Next