We have been using this for the last 4 years, although we switched from
MuliRead locks to lightweight CriticalSections in V 4.0 . We simply
increased the number of locks and didn't need the multiread functionality
any more so we reduced the time spent locking. The interface functional
enclosement however is today the same as it was 4 years ago ;-) .
I first used this trick when I developed the OpenWire initially -
www.openwire.org .
With best regards,
Boian Mitov
--------------------------------------------------------------------
Mitov Software
http://www.mitov.com
--------------------------------------------------------------------
----- Original Message -----
From: "Graeme Geldenhuys" <[EMAIL PROTECTED]>
To: "FPC developers' list" <fpc-devel@lists.freepascal.org>
Sent: Thursday, July 31, 2008 7:22 AM
Subject: Re: [fpc-devel] Re: Multi threading support
I'm not Henri, but we did similar setting and auto-restoring mouse
cursors in our Delphi applications. I can't imagine why I never
thought of using the same idea for critical sections. :-)
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel