[Lazarus] Synchronize problem in linux

Zaher Dirkey parmaja at gmail.com
Sun May 22 15:36:51 CEST 2011


Hi, i have multithreaded gui Lazarus application (socket server), that
thread call the gui function (open file), i used Synchronize for that read
with function ShowFile
It is work fine with Windows, but in Linux (OpenSuse 11) the procedure
ShowFile not called.

I used in the main project file
  {$IFDEF UNIX}
  cthreads,
  {$ENDIF}

Did i missed somthing?

my procedure called like that
Connection.Synchronize(ShowFile);

Connection is a thread, and this line called inside a object created and
processed inside that thread, ShowFile must open a file in my gui editor.

Thanks in advance.

-- 
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110522/bc671292/attachment-0002.html>


More information about the Lazarus mailing list