|
-
Feb 8th, 2010, 03:45 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Threading Question
Hey all,
I was wondering if there was a posiblity of error if two seperate threads are accessing the same variables.
i.e. I write several threads that gathers data from several communication ports (rs232, tcp etc) and puts those values in a public array of all data. I also have a thread that updates the display form with data all of the data from that array.
Could this cause an error down the line with different threads reading and writing to the same variables?
Thanks,
Nick
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
|