Am 25.08.2010 17:02, schrieb Alexander Grau:
Does it even work if you use threadvars? It should as the Heap uses
threadvars, but I want to be sure. (and now I'm also curious to know
why it works with 2.4.0 ^^)
I have modified the test - now it's using multiple external threads and
that works fine too until the moment I enable any 'writeln'. Using
threadvars or not doesn't make any difference. Using any writeln will
make it crash. If not using writeln, the external threads can call FPC
objects to increase some counters that are correctly displayed at the
end of the program for each thread.
So the runtime must be tested more when using external threads... Does
the writeln work when you use FPC threads?
Regards,
Sven
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus