[fpc-pascal] TThread.Suspend
Michael Van Canneyt
michael at freepascal.org
Thu Jan 30 11:52:22 CET 2014
On Thu, 30 Jan 2014, Mark Morgan Lloyd wrote:
> First question: is Start an accurate replacement for Resume, or can it only
> be used to start a thread created in the suspended state?
>
> Second question: now that Suspend is deprecated, what should a thread do if
> it wants to stop processing pending a subsequent resume? Please note that I'm
> asking about a thread suspending itself: I'm aware of the issues that argue
> against external suspension (on platforms where this is possible).
>
> I note that http://www.freepascal.org/docs-html/rtl/classes/tthread.html
> gives no indication that Suspend and Resume are deprecated.
Good point. I must adapt fpdoc to cater for this.
Michael.
More information about the fpc-pascal
mailing list