[fpc-pascal] Re: Threads executing in sequence instead of parallel
graemeg.lists at gmail.com
Thu Sep 28 23:23:07 CEST 2006
On 28/09/06, Vincent Snijders <vsnijders at quicknet.nl> wrote:
> I know about this report:
> Threading related, but not the same, as you are not using synchronize,
> are you?
Do you mean like below - which then means, I do use synchronize. I
use synchronize to draw on the main form (running in the main thread).
I don't get any lockups as that bug report says, but then I am
running under Ubuntu that uses Gnome desktop. Again, no such issues
TSortThread is the base class for my three different Sorting threads,
so they all use this function.
procedure TSortThread.VisualSwap(A, B, I, J: Integer);
FA := A;
FB := B;
FI := I;
FJ := J;
They never attached a sample application, so I can't try it on my
system to see if I get the same issues as they do, but as I stated, I
don't get lockups, only that the threads run in sequence - one after
What platform are you running on, Windows?
- Graeme -
There's no place like 127.0.0.1
More information about the fpc-pascal