|   | ![[ Previous ]](navbprev.gif)  ![[ Contents ]](navbhome.gif)  ![[ Index ]](navbhelp.gif)  ![[ Next ]](navbnext.gif)  | 
    int Ns_SetThreadLocalStorage(
    Ns_ThreadLocalStorage * tls, 
    void *p
    );
Set the thread local storage tls to the value p.
See the example for Ns_AllocThreadLocalStorage.
Ns_TlsSet is the preferred function for setting thread local storage.