On 06/23/2011 07:50 AM, Hans-Peter Diettrich wrote:
I may be wrong here, because I used threads only on realtime systems,
never in Delphi or Lazarus...
Threads can help to greatly improve the soft realtime behavior of a
Delphi/Lazarus program. We do this a lit.
BTW, I just got my copy of RAD Studio XE, where e.g. thread.suspend is
deprecated, and other means for thread synchronization are added. But
these have to be implemented in FPC first, before SpinLock or other
procedures or methods can be used.
IMHO TThread.Suspend and friends is a very queer way of doing thread
synchronizing. The Delphi developers seem to have been drunk when
inventing this (in vain trying to create something idiot-friendly). I
never used this stuff.
-Michael
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus