mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-10 07:26:18 +02:00
* fixed important typo in better comments :)
git-svn-id: trunk@7618 -
This commit is contained in:
parent
e93d612f4a
commit
172f85c8c3
@ -182,8 +182,8 @@ begin
|
|||||||
begin
|
begin
|
||||||
// if someone calls .Free on a thread with not(FreeOnTerminate), there
|
// if someone calls .Free on a thread with not(FreeOnTerminate), there
|
||||||
// is no problem. Otherwise, FreeOnTerminate must be set to false so
|
// is no problem. Otherwise, FreeOnTerminate must be set to false so
|
||||||
// when ThreadFunc exits the main runloop, it does try to Free itself
|
// when ThreadFunc exits the main runloop, it does not try to Free
|
||||||
// again
|
// itself again
|
||||||
FFreeOnTerminate := false;
|
FFreeOnTerminate := false;
|
||||||
{ you can't join yourself, so only for FThreadID<>GetCurrentThreadID }
|
{ you can't join yourself, so only for FThreadID<>GetCurrentThreadID }
|
||||||
{ and you can't join twice -> make sure we didn't join already }
|
{ and you can't join twice -> make sure we didn't join already }
|
||||||
|
Loading…
Reference in New Issue
Block a user