Thread Local Data

This lesson explains how data that is local to a thread is created

Thread-local data, also known as thread-local storage, will be created for each thread separately. It behaves like static data because it’s bound for the lifetime of the thread and it will be created at its first usage. Also, thread-local data belongs exclusively to the thread.

Get hands-on with 1000+ tech skills courses.