[fpc-pascal] Use sleep in thread
fiens at hotmail.com
Sun Mar 1 22:31:53 CET 2015
>> there are dire warnings that TThread.Create() shouldn't be overridden.
>> Should this be in the documentation if it's a significant issue?
> It's the first time I hear it, I've been doing it forever, just like in
> the example in the same wiki page.
Hum... same for me here... ;-(
Do you think it could explain memory leak that i cannot solve even using
this ? =>
constructor TMyThread.Create(CreateSuspended: boolean;
const StackSize: SizeUInt);
inherited Create(CreateSuspended, StackSize);
FreeOnTerminate := false; => this not working ?
Many thanks ;-)
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Use-sleep-in-thread-tp5721119p5721176.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal