Hoje, estamos aprendendo outra sintaxe obscura com Alister Christie, da Learn Delphi TV. Neste novo Vídeo Aprenda Delphi, ele aprenderá mais sobre o ThreadVar e como ele difere das variáveis locais? É interessante notar que o código com o threadvar é uma sintaxe inválida. Um threadvar precisa ter um escopo de unidade em vez de um escopo local.

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.


Reduza o tempo de desenvolvimento e chegue ao mercado mais rapidamente com RAD Studio, Delphi ou C ++ Builder.
Projeto. Código. Compilar. Implante.
Iniciar avaliação gratuitaAprimore hoje

Delphi Community Edition grátisEdição gratuita da comunidade C ++ Builder