[fpc-pascal] GUI multithreaded Win32 program sometimes freeze when quitting
henry.vermaak at gmail.com
Tue Apr 18 16:43:32 CEST 2017
On Tue, Apr 18, 2017 at 07:32:21PM +0800, Dennis wrote:
> Since this freezing behavour does not happen during debugging, I have spent
> months trying to fix it but failed.
> Any suggestions are welcome.
Try using a data race detector to see if it's a deadlock. I don't know
about Windows, but I've used the helgrind tool in valgrind to
successfully fix thread errors in a lazarus program. If you're lucky,
the problem will manifest itself on a platform that valgrind is
More information about the fpc-pascal