nn::os::ThreadLocalStorage::ThreadLocalStorage Constructor

Syntax

#include <nn/os.h>
ThreadLocalStorage();

Arguments

None.

Description

Creates a thread-local storage object and allocates one slot.

In the present implementation, up to 16 slots can be secured. If the upper limit is exceeded and securing a slot fails, the program will stop. (In the retail product environment, this is handed as a fatal error.)

Revision History

2011/06/22
Added an explanation of behavior when securing a slot fails.
2010/01/07
Initial version.

CONFIDENTIAL