W3cubDocs

/Haxe Neko

Tls<T>

package neko.vm

Available on macro, neko

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

value:T

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/neko/vm/Tls.html