View Issue Details

IDProjectCategoryView StatusLast Update
0035727FPCDocumentationpublic2019-06-19 08:18
ReporterRik van KekemAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Product VersionProduct Build 
Target VersionFixed in Version3.3.1 
Summary0035727: Typo with suspended state in TThread.AfterConstruction documentation
DescriptionIn the documentation it says:
It starts the thread if it was created in a suspended state.

But that should be
It starts the thread if it was created with CreateSuspended false.

(or at least "It starts the thread if it was created in a NON suspended state.")

The actual thread is ALWAYS created as suspended in Create() but it will ONLY be started in AfterConstruction when CreateSuspended was false.

https://www.freepascal.org/docs-html/current/rtl/classes/tthread.afterconstruction.html

(In code it says "if {...} and not FInitialSuspended then Resume")
TagsNo tags attached.
Fixed in Revision1628
FPCOldBugId
FPCTarget3.2.0
Attached Files

Activities

Michael Van Canneyt

2019-06-19 08:18

administrator   ~0116779

Fixed, thanks for spotting this !

Issue History

Date Modified Username Field Change
2019-06-18 10:26 Rik van Kekem New Issue
2019-06-18 10:26 Rik van Kekem Status new => assigned
2019-06-18 10:26 Rik van Kekem Assigned To => Michael Van Canneyt
2019-06-19 08:18 Michael Van Canneyt Status assigned => resolved
2019-06-19 08:18 Michael Van Canneyt Resolution open => fixed
2019-06-19 08:18 Michael Van Canneyt Fixed in Version => 3.3.1
2019-06-19 08:18 Michael Van Canneyt Fixed in Revision => 1628
2019-06-19 08:18 Michael Van Canneyt FPCTarget => 3.2.0
2019-06-19 08:18 Michael Van Canneyt Note Added: 0116779