Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: e32std.h
Link against: euser.lib

Class Dll

Dll

Support

Supported from 5.0

Description

Encapsulates a number of static functions to set and access thread-local storage.

This class in not intended for user derivation.

Defined in Dll:
SetTls(), Tls()


Thread local storage


SetTls()

static TInt SetTls(TAny* aPtr);

Description

Sets the pointer to thread-local storage.

Parameters

TAny* aPtr

A pointer to an allocated area to be used as thread-local storage.

Return value

TInt

KErrNone, if successful, otherwise one of the system-wide error codes.


Tls()

static TAny* Tls();

Description

Returns the pointer to thread-local storage.

Return value

TAny*

The pointer set by SetTls().