[Lazarus] Threads and Libraries (dll and so)
a.fortuny at sitasoftware.lu
Fri Jan 17 12:34:44 CET 2014
Maybe not a Lazarus/FPC specific question but development whill be done
I wonder if I can build an application (service) having multiple threads
running (Indy TCP/IP server, multiple connections) and every thread
calls some functions in a library (dll on Windows, .so on Linux)
I can imagine that if every thread loads dynamically the library it
should work as I assume that a library shares its code among all callers
(processes ?) but each instance has its own data segment tied tp the
calling process (thread ?).
Thank you for comments.
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active.
More information about the Lazarus