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.

-Michael

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to