Hi,
When you create a new project in Lazarus, the default uses classe in the *.lpr file looks as follows:
---------------
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes;---------------
Is there an alternative implementation of multi-threading support for Unix-type systems -- other than the cthreads unit?
If not, then why do we have the extra "IFDEF UseCThreads" define in the uses clause?
Why can't we just have the following...? By default Windows programs and OS/2 programmes have multi-threading support compiled in, why don't we do the same for Unix-type systems? I often get the "program not compiled with multi-threading support" error and have to constantly define the UseCThreads option.
---------------
uses
{$IFDEF UNIX}
cthreads,
{$ENDIF}
Classes;---------------
Regards,
- Graeme -
