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.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal