[fpc-pascal] Re: Multi-threaded project with few locks (no Thread.waitfor). Memory consumption keeps increasing on Ubuntu 10.10 x64

Vinzent Höfler JeLlyFish.software at gmx.net
Fri Oct 15 18:06:12 CEST 2010


On Fri, 15 Oct 2010 17:39:59 +0200, Andrew Brunner
<andrew.t.brunner at gmail.com> wrote:

> BTW: I did notice that the semaphore was being used to suspend the
> thread.  And I also know that that was it's only function... Suspend
> and Resume.

The problem is not pthreads or anything, the problem is how the
semantics of the Classes.TThread is defined.

You can still use BeginThread directly if you want to avoid that.


Vinzent.



More information about the fpc-pascal mailing list