To handle the multiple Thread in optimized way is any other handler is available execept CWinThread.
Printable View
To handle the multiple Thread in optimized way is any other handler is available execept CWinThread.
You really need to clarify this one-liner. What are you talking about ?
sorry sir i have done mistake.i accept it .
Actually now i am using CWinThread, I need to transmit the 8 byte of data atleast 100 times per second to comport. and also i need to receive the 32byte of data from comport atleast 20 times per second. now i can't handle this amout of data through CWinThread.
Actually now i am using 19200 baudrate for transmitting and receiving data to & from serialport.
Is there any other possible thread handler is available to handle this amout of data in thread.
I find that hard to believe. CWinTread is just a wrapper class that starts the thread using the native windows api. So it is as good as any other thread you can use. The baud rates you are talking about seem very low. There should be no problem whatsoever to handle those few thousand bytes in a thread.
Please post your code.