Extracted from Pike v7.3 release 16 at 2002-03-05.
pike.roxen.com
[Top]
Thread
Thread.Local

Class Thread.Local

Description

Thread local variable storage.

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

Note

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