[Lazarus] Lazarus application crash. Is PostMessage thread safe?

Michael Schnell mschnell at lumino.de
Fri Feb 12 14:53:29 CET 2016


On 02/10/2016 10:12 PM, C Western wrote:
>
> My understanding is Application.ProcessMessages has to be reentrant ...

As calling Application.ProcessMessages is only allowed from the main 
thread it does not need to be reentrant = thread-save.

Of course it can be called recursively and it hence is reentrant in that 
meaning.

-Michael





More information about the Lazarus mailing list