[fpc-pascal] TThread.Resume

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Fri Mar 11 08:38:06 CET 2011


Jonas Maebe wrote:
> On 10 Mar 2011, at 22:33, Mark Morgan Lloyd wrote:
> 
>> [Reads] Wasn't there a race condition when a thread was created suspended? Was that fixed?
> 
> There was a race condition when a thread was created in a non-suspended stated, and if it terminated before the constructor finished running. This has been fixed: http://bugs.freepascal.org/view.php?id=16884
> 
> I'm not aware of any race conditions when creating a thread in suspended state.

[Checks] That's the one I was thinking of. Sorry, just checking.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-pascal mailing list