You can use a Mutex to solve the problem,
or you can make one thread wait until the other thread finishes its
operation...


http://programmingsite.googlepages.com
http://plainthought.googlepages.com

--- In [email protected], "mikejd42" <[EMAIL PROTECTED]> wrote:
>
> I have two threads both kicked off at the same time. Thread one feeds
> information info a structure while thread two reads that information.
> 
> I would imagine that there is some kind of thread lock that I can call
> to keep thread 2 at bay until thread one has updated the structure?
> 
> TIA
> mike
>


Reply via email to