[Lazarus] Can tiOPF handle multi thread programming easily?
mailinglists at geldenhuys.co.uk
Thu Jun 23 16:57:32 CEST 2016
On 2016-06-23 15:37, Dennis wrote:
> Just heard compliments on tiOPF and wonder how it handles multi thread
What exactly would you like to accomplish?
tiOPF has some thread classes, thread list etc which it uses internally
and can be used by your code too.
Some thread usage by tiOPF:
* The tiLog descendants run in a separate thread so logging doesn't
slow down the actual application.
* There is a thread based progress dialog that can monitor progress
of multiple running threads and report the state of completion via
a progressbar per thread
* It allows multi-threaded DB Access.
tiOPF doesn't spoon-feed the developer, so for some tasks you still need
to write the appropriate thread-safe code. But again, it boils down to
what you actually want to accomplish with multi-threaded programming.
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
My public PGP key: http://tinyurl.com/graeme-pgp
More information about the Lazarus