On 05/23/2011 10:59 PM, Zaher Dirkey wrote:
procedure TdbgpGetCurrent.ShowFile; //this function must synced
If the only purpose of the function really is showing something, maybe Application.QueuAsyncCall might be a better alternative, as the thread can go on running while the showing is performed. Of course here it might be necessary that the stuff to be shown is copied and provided via the parameter of QueuAsyncCall, if it's possible that the thread inconstantly modifies it in between.
-Michael -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
