[Lazarus] Need some help with UpdateSQL in TSQLQuery and TMySQL50Connection
Howard Lee Harkness
howard.lee.harkness at gmail.com
Thu Aug 28 22:21:24 CEST 2008
On Thu, 28 Aug 2008, davy zhang wrote:
> I know there are bunch of defects of thread programing and not every
> one like to use it
>
> but I am still wondering the real efficiency of these two model
>
> if we use multi-core cpu, which one is faster, or it just depends on
> the compiler's optimization~
It's a different programming model. I don't think there is an inherent
difference in efficiency between the two models, except maybe the overhead
of spawning a new thread. Even that can be remedied by using a thread pool.
Michael.
More information about the Lazarus
mailing list