Hi all,
TThread.Resume is marked deprecated. Where is the comment or documentation what to use now?
Mattias

Mailing lists / fpc-pascal / 2011-03
7 messages · 4 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi all,
TThread.Resume is marked deprecated. Where is the comment or documentation what to use now?
Mattias
Mattias Gaertner wroteTThread.Resume is marked deprecated. Where is the comment or documentation what to use now?
http://wiki.freepascal.org/User_Changes_Trunk#TThread.Suspend_and_TThread.Resume_are_deprecated
Jonas
Thanks.
Can this be added to the fpdoc documentation and/or as comment to the source?
Mattias
http://wiki.freepascal.org/User_Changes_Trunk#TThread.Suspend_and_TThread.Resume_are_depre…
[Reads] Wasn't there a race condition when a thread was created suspended? Was that fixed?
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
[Checks] That's the one I was thinking of. Sorry, just checking.
On Thu, 10 Mar 2011 19:38:11 +0100 Thanks. Can this be added to the fpdoc documentation…
In our previous episode, Mattias Gaertner said:
(This change is in 2.4.4 too btw. The 2.4.4 points haven't been removed from user changes trunk yet.
http://wiki.freepascal.org/User_Changes_2.4.4
has been updated though)