I am trying to implement multi-threading in my application(Linux x86_64)
for this i added -dUseCThreads to my custom compiler options
also added:
{$ifdef unix}
cthreads, cmem,
{$endif}
got error so i tried with:
{$ifdef unix}{$ifdef UseCThreads}
cthreads, cmem,
{$endif}{$endif}
but i keep getting same error:
Project project1 raised exception class 'External: SIGABRT'.
At address 7FFFF6F43D7F
assembler marks:
00007FFFF6F43D7F 488b8c2408010000 mov 0x108(%rsp),%rcx
and GDB is not being nice to me
any ideas? if i need to debug this further, can someone point me in the right GDB documentation?
Thank You