[Lazarus] PostMessage return value

Michael Schnell 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...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140919/b8f9f82e/attachment-0003.html>

More information about the Lazarus mailing list