You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LCL creates a few processing threads under Linux even for simplest application. This somehow causes failure when event handler creates separate thread and leaves it running. Under Windows only single thread is created and the issue is not reproduced. The issue is not reproduced when event handler waits for termination of all created threads. As a workaround TRunner.Wait is called. Otherwise probably architecture should be changed.
LCL creates a few processing threads under Linux even for simplest application. This somehow causes failure when event handler creates separate thread and leaves it running. Under Windows only single thread is created and the issue is not reproduced. The issue is not reproduced when event handler waits for termination of all created threads. As a workaround TRunner.Wait is called. Otherwise probably architecture should be changed.
References
https://wiki.freepascal.org/Multithreaded_Application_Tutorial
http://lazarus-dev.blogspot.com/2013/08/threads-with-lazarus.html
Related
#31
The text was updated successfully, but these errors were encountered: