mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 12:49:33 +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
|
||||
// if someone calls .Free on a thread with not(FreeOnTerminate), there
|
||||
// is no problem. Otherwise, FreeOnTerminate must be set to false so
|
||||
// when ThreadFunc exits the main runloop, it does try to Free itself
|
||||
// again
|
||||
// when ThreadFunc exits the main runloop, it does not try to Free
|
||||
// itself again
|
||||
FFreeOnTerminate := false;
|
||||
{ you can't join yourself, so only for FThreadID<>GetCurrentThreadID }
|
||||
{ and you can't join twice -> make sure we didn't join already }
|
||||
|
Loading…
Reference in New Issue
Block a user