Razvan Adrian Bogdan wrote:
On Dec 12, 2007 12:13 PM, Marc Weustink <[EMAIL PROTECTED]> wrote:
The LCL won't be threadsafe, the overhead isn't worth the gain.

Do you think it's an overhead to use the internal locking mechanism from GTK ?

Not only overhead in gtk widgetset, also in LCL, and aslo in all other widgetsets.

I tend to think it's a very light mechanism that you don't even feel
in singlethreaded applications, having a threadsafe LCL means one can
freely code without any headaches from synchronization making the code
look nicer and dramatically cutting developing time,

If you start to think your design first it won't cut much.

but i do think
it's a lot of code. I tend to think the LCLs overhead comes from using
classes too much in the lower level API abstraction part.

In all my years of delphi threadded app development I never needed threadded updates of my gui.


Marc

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to