[fpc-devel] procedure ... message(); in Linux

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Feb 26 10:21:03 CET 2010


On Fri, 26 Feb 2010 09:53:44 +0100
Michael Schnell <mschnell at lumino.de> wrote:

> OK, Thisa does take me one step further.
> 
> 1) "procedure...message" does wok in Linux
> 2) it can be triggered by "Dispatch".
> 
> This is good news, as FPC/Lazarus is confirmed to work as expected. :)
> This is bad news as now I need to consider "procedure...message" when
> doing the NoGUIApplication package. ;)
> 
> What I now need to know is the exact spec of "Dispatch". Can it be
> legally used in a thread (like PostMessage in Windows can)?

PostMessage is threadsafe, dispatch is not.

Mattias



More information about the fpc-devel mailing list