dimanche 14 mai 2023

thread_local is equal to automatic variables ? What is the actual use of thead_local?

What is the actual need of thread_local, they get created when thread is created and destroyed when thread is finished, so do automatic variables, so what makes thread_local special ? Why do we need them ?

Aucun commentaire:

Enregistrer un commentaire