On Fri, 25 Nov 2011 12:21:24 -0200
William Oliveira Ferreira <[email protected]> wrote:
> Thanks for the awnser, Sven, but, my question is why not only use
> {$ifdef unix}
> cthreads
> {$endif}
> and i didn“t understand yet...
If you want to use threads in your program, then the above is the
correct way.
The cthreads define is only for packages. When your project uses a
package, that uses multiple threads, it enables multithreading for the
project by defining -dcthreads.
Mattias
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus