[Lazarus] Memory leak in TThread class

Tobias Giesen tobias_subscriber at tgtools.com
Wed Oct 6 15:52:13 CEST 2010


Hi,

I think you shouldn't create suspended threads anyway. The Windows
API docs say that suspend/resume is only for debuggers. To synchronize
threads or to delay the starting of a thread you should use events,
WaitForMultipleObjects etc.

Cheers,
Tobias






More information about the Lazarus mailing list