Does anyone know How to create thread for reading data from COM port. I have a situation in which there is a main thread(say A) which should always be reading from COM port and when ever there is data in COM port this main thread(A) should create child thread and resume to its actual work(reading from COM port) and the child thread should process the data received by the main thread(A)I hope the problem is clear