[Lazarus] PostMessage return value
mschnell at lumino.de
Fri Sep 19 13:32:06 CEST 2014
On 09/19/2014 12:23 PM, Michael Schnell wrote:
> Following your suggestion to use events (here meaning semahores)
> instead of critical sections (here meaning mutexes) I tried to modify
> my code to use TEvent (as same is Delphi compatible - or at least it
> does exist in Delphi as well).
I got it working using TEvent instead of TCriticalSection.
As you need less calls to TEvent than were necessary with
TCriticalSection this variant in fact is nicer.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus