On Fri, 08 Sep 2006 20:34:48 -0000, Burkhard Carstens <[EMAIL PROTECTED]>
wrote:
Am Freitag, 8. September 2006 21:44 schrieb Robert Reimiller:
[..]
I'm using objfpc mode. Changing addr(libthread) into @libthread
solved the problem.
I should have thought of that since I had the same problem with
getting the address of a callback procedure. It now all compiles, now
for the debugging......
From rtl/linux/tthread.inc line 189:
{ TThread }
constructor TThread.Create(CreateSuspended: Boolean;
const StackSize: SizeUInt =
DefaultStackSize);
begin
// lets just hope that the user doesn't create a thread
// via BeginThread and creates the first TThread Object in there!
InitThreads;
...
I don't have mac os, no idea, if this applies there, too. Just thought,
I should mention this ;-)
I think this only applies if you are using the tthread class, which I'm
not. At least I've never had any problems on Delphi with 15 threads
running :)
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel