[Lazarus] TThread in console mode program.

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jul 21 21:44:49 CEST 2016


On Thu, 21 Jul 2016 15:35:51 -0400
Donald Ziesig <donald at ziesig.org> wrote:

> On 07/21/2016 03:21 PM, Mattias Gaertner wrote:
> > On Thu, 21 Jul 2016 15:05:17 -0400
> > Donald Ziesig <donald at ziesig.org> wrote:
> >  
> >> [...]
> >> Question:  Do console mode programs have a "run loop"?.  
> > Synchronize requires that your main thread calls CheckSynchronize from
> > time to time. The LCL does that in its loop.
> >
> >  
> >> [...]  
> > Mattias  
> 
> That made it work!  Thank you.  (Where is this documented?)

In CheckSynchronize itself, but not in the wiki multithread tutorial. I
added it there.

Mattias


More information about the Lazarus mailing list