[Lazarus] calling basicEventCreate in Linux

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Aug 9 07:44:05 CEST 2008


On Fri, 8 Aug 2008 20:40:24 -0700
"Boian Mitov" <mitov at mitov.com> wrote:

> I added it to the first unit of the package but now after rebuilding
> I can start Lazarus:
> 
> I am getting:
> 
> Threading has been used before cthreads was initialized.
> Make cthreads one of the first units in your uses clause.
> Runtime error 211 at $08651EFA
>   $08651EFA
>   $087B99ED
> 
> Please help! How to use thread synchronization inside Lazarus
> components in Linux? Do I need to write my own TEvent class for that?
> Is there alternative event that I can use and will work?

May this help you:
http://wiki.lazarus.freepascal.org/Multithreaded_Application_Tutorial#Units_needed_for_a_multithreaded_application


Mattias



More information about the Lazarus mailing list