Multi Threading, ??Data Loss??

hederimiller

Member
Joined
Jul 30, 2005
Messages
6
Programming Experience
1-3
I just have a simple question. If i am having multiple thread running on a program. and one thread B is being passed data by thread A, but thread A is moving quicker then thread B, will thread A slow down and give thread B some time, or what will hapen to that data between thread A and thread B.
 
No it will not. It is up to you to synchronise your own threads. I suggest you have a good read of whatever you can find in the help documentation about multithreading, particularly the Thread class itself. It is a dangerous area for the unaware.
 
Back
Top