Heute lernen wir eine weitere obskure Syntax von Alister Christie von Learn Delphi TV. In diesem neuen Learn Delphi-Video erfährt er mehr über ThreadVar und wie unterscheidet es sich von den lokalen Variablen? Es ist interessant festzustellen, dass der Code mit der Threadvar eine ungültige Syntax ist. Eine Threadvar muss eher einen Einheitenbereich als einen lokalen Bereich haben.

According to the video, a thread-local variable has separate instances for each thread in the process. There is a one-to-one mapping between instances of the variable and threads. If you haven’t heard or used ThreadVar before, this Learn Delphi video will explain every detail you need to know. Feel free to watch the video above and learn more about this obscure syntax in Delphi and windows application development.


Reduzieren Sie die Entwicklungszeit und kommen Sie mit RAD Studio, Delphi oder C ++ Builder schneller auf den Markt.
Design. Code. Kompilieren. Bereitstellen.
Kostenlos testenUpgrade heute

Kostenlose Delphi Community EditionKostenlose C ++ Builder Community Edition