Class Thread.Local


Thread local variable storage.

This class allows you to have variables which are separate for each thread that uses it. It has two methods: get() and set(). A value stored in an instance of Local can only be retrieved by that same thread.


This class is simulated when Pike is compiled without thread support, so it's always available.