[Lazarus] App locks at startup

Andrew Brunner andrew.t.brunner at gmail.com
Sun Feb 28 04:08:04 CET 2010


I would never Process Application Messages from a timer thread.

I suspect a threadlock going on.  Does it work OK without the
application.processmessages?

On Sat, Feb 27, 2010 at 9:02 PM, SteveG <steveg at nevets.com.au> wrote:
> I have just updated Laz (svn) and Fpc(2.4.0) and have hit a problem with my
> program. (worked ok with Laz 0.98 / fpc 2.?.?)
>
> I use a dyn loaded lib with my app, which seems to be relevant.
>
> If I call Application.ProcessMessages from within a TTimer.OnTimer event, my
> app now locks solid showing 'futex_wait_queue_me' in the process listing.
>
> I havent yet been able to narrow down an exact cause, as a simple app/lib
> test works ok.
>
> Would anybody know what would cause the above state (futex), as a clue to
> the change in Laz/Fpc affecting my app ?
>
> Thanks - SteveG
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>




More information about the Lazarus mailing list