Coder's Guild Mailing List

Delphi3..Threads.. Memory

Posted by Molando on 1998-03-16

Hello,
Just a quick question:
In delphi3 I am running a multi-threaded application, there is the main
program, and three threads (which are exactly the same (but through params
perform tasks on different bits of hardware)), these threads access some
varables (including arrays) from the main program. As all the threads will
be running at the same time, will I need to worry about access conflicts
over the varables, or will delphi handle these fine. When I say access
conflicts, I mean the computer looking at the same part of memory at
exactly the same time (rather than the data being changed by any of the
threads).

Thanks in advance,
molando@xxxxxxxx.xxx

------------------------------------------------------------------
It may have a few tiny memory leeks,
Ok, Ok, if you put the code on the black sea it would sink.