View Issue Details

IDProjectCategoryView StatusLast Update
0035727FPCDocumentationpublic2020-05-19 11:05
ReporterRik van Kekem Assigned ToMichael Van Canneyt  
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Fixed 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 !

Rik van Kekem

2020-05-19 10:57

reporter   ~0122927

Last edited: 2020-05-19 10:57

View 2 revisions

At what time does the documentation get updated??
Last update of this page is still Sep 28 2017.
So the documentation isn't yet fixed (reason why I didn't close this yet).

Michael Van Canneyt

2020-05-19 11:05

administrator   ~0122928

The documentation is updated when we create a release.

Your fix will be in 3.2.0

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
2020-05-19 10:57 Rik van Kekem Note Added: 0122927
2020-05-19 10:57 Rik van Kekem Note Edited: 0122927 View Revisions
2020-05-19 11:05 Michael Van Canneyt Note Added: 0122928