|
-
April 20th, 1999, 05:56 AM
#1
multithread
Hello,I have written a program that is about serial COM.I created two thread in this program ,one received data from serial COM and insert them into a string list,another get string from this list and insert them into a database.The string list is a global variable.I expanded this program and now it can manage two serial COM.So there are four thread in this program .Every two thread manage a serial COM.And each serial COM has a string list in the program to store data.But now the rate of one serial COM is slower then another clearly.If I run the original program twice and ench deal with a serial COM, the rate of two serial COM is same almost.I must point that the flux of the two serial COM is every high.I don't know the reason of this problem and how to resolve . Please help me! Thank you every much!
-
April 20th, 1999, 03:41 PM
#2
Re: multithread
can you make you story short? I try to help you,but I don't understand the problem ?
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
|