I am doing serial port communication. And i know how to open and configure the port and how to read and write data on serial port.
Now i want to create two threads one is Writer thread and another is reader thread; writer thread will write the data on serial port and reader thread will read it. Please tell me the concept how can i do it.