[fpc-pascal] Re: Multi-threaded project with few locks (no Thread.waitfor). Memory consumption keeps increasing on Ubuntu 10.10 x64
Sven Barth
pascaldragon at googlemail.com
Sat Oct 16 15:42:09 CEST 2010
On 16.10.2010 15:36, Michael Van Canneyt wrote:
>
> How about creating
>
> a) A native TThreadManager record in system unit for unices.
I don't think this can be done for all Unix systems in a generic way,
because e.g. on Linux you should use the "clone" syscall (which is Linux
only) while on e.g. Mac OS X you should rely on the c library cause the
syscall interface might be changed by Apple (@OS X devs: please correct
me if this is wrong).
Regards,
Sven
More information about the fpc-pascal
mailing list