C API Reference -- Ns_TlsAlloc

### Ns_TlsAlloc

#### Overview

Allocate thread local storage

#### Syntax

        void Ns_TlsAlloc (
        Ns_Tls* ,
        Ns_TlsCleanup*
        );

#### Description

Allocate thread-local-storage. This is unneeded if the tls variable is initialized to 0 (as static data is). See pthread_setspecific(3P) for details on thread-local storage.

This function is a renamed version of Ns_AllocThreadLocalStorage.

Top of Page
Copyright © 1998-99 America Online, Inc.