[fpc-pascal] TThread.Resume

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Mar 10 22:44:39 CET 2011


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.


Jonas


More information about the fpc-pascal mailing list