-
December 10th, 2008, 07:31 AM
#1
Need Clarification about CWinThread
To handle the multiple Thread in optimized way is any other handler is available execept CWinThread.
-
December 10th, 2008, 07:37 AM
#2
Re: Need Clarification about CWinThread
You really need to clarify this one-liner. What are you talking about ?
-
December 10th, 2008, 08:12 AM
#3
Re: Need Clarification about CWinThread
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.
-
December 10th, 2008, 08:18 AM
#4
Re: Need Clarification about CWinThread
Originally Posted by sathyboopathiraja
now i can't handle this amout of data through CWinThread.
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.
Nobody cares how it works as long as it works
-
December 10th, 2008, 08:16 PM
#5
Re: Need Clarification about CWinThread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|