Hello again xD
another problem with my multi-threading,
im taking baby steps but slowly advancing.
now im getting a different external exception:
External: SIGSEGV
This external exceptions are killing me! xD
well following the debbuger this error pops up on here:
constructor TMyThread.Create(CreateSuspended: boolean);
begin
inherited Create(CreateSuspended); //<--Here is the error...
FreeOnTerminate := True;
end;
any ideas on what might be the trouble? i have -dUseCThreads on compiler custom options and {IFDEF Unix}cthreads{ENDIF} on my main unit...
the type definition is like this(Basically taken straight from the wiki multithreading example):
Type
{ TMyThread }
TMyThread = class(TThread)
protected
procedure Execute; override;
public
constructor Create(CreateSuspended : boolean);
end;
Thanks in advance
EDIT: I should mention im trying this on linux x86_64