Creates thread local storage.

Constructor

new()

Creates thread local storage. This is placeholder that can store a value that will be different depending on the local thread. Set the tls value to null before exiting the thread or the memory will never be collected.

Variables

read onlywrite onlyvalue:T

Available on macro, hl

value:T

Available on cpp, java, neko