[Lazarus] Threads and Libraries (dll and so)

Hans-Peter Diettrich DrDiettrich1 at aol.com
Tue Feb 4 19:10:01 CET 2014


Michael Schnell schrieb:
> On 02/04/2014 12:09 PM, Hans-Peter Diettrich wrote:
>>
>> Right, and the restriction to one widgetset resides in the Lazarus 
>> widgetset handling.
>>
> I do know. But it does not make much sense to be nagging towards the 
> powers here about LCL not being reentrant, if the library (Widget Set, 
> ...) it binds to does not decently support multiple GUIs in multiple 
> threads of an application.

Right, nobody tries to support threads in GUI related libraries, because 
this doesn't make sense. Every programming language that supports 
threads also supports inter-thread communication, which can be used to 
send update requests to an dedicated GUI thread.

DoDi





More information about the Lazarus mailing list