[Lazarus] Synchronize problem in linux
Michael Schnell
mschnell at lumino.de
Tue May 24 09:57:09 CEST 2011
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
More information about the Lazarus
mailing list