Adobe Source Libraries 1.49.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
once.hpp File Reference

Go to the source code of this file.

Macros

#define ADOBE_THREAD_LOCAL_STORAGE_1(type, signature, ctor_p1)
 A macro to define a thread-local object with a single constructor argument.
#define ADOBE_THREAD_LOCAL_STORAGE(type, signature)
 A macro to define a thread-local object with a default constructor.
#define ADOBE_THREAD_LOCAL_STORAGE_INITIALIZE(signature)
 A macro to initialize a thread-local object. This is now a no-op.
#define ADOBE_THREAD_LOCAL_STORAGE_ACCESS(signature)
 A macro to access a thread-local object.

Macro Definition Documentation

◆ ADOBE_THREAD_LOCAL_STORAGE_1

#define ADOBE_THREAD_LOCAL_STORAGE_1 ( type,
signature,
ctor_p1 )
Parameters
typeThe type of the object to be stored.
signatureA unique identifier for this thread-local object.
ctor_p1The single argument to be passed to the constructor of the object.

Definition at line 13 of file once.hpp.

◆ ADOBE_THREAD_LOCAL_STORAGE

#define ADOBE_THREAD_LOCAL_STORAGE ( type,
signature )
Parameters
typeThe type of the object to be stored.
signatureA unique identifier for this thread-local object.

Definition at line 19 of file once.hpp.

◆ ADOBE_THREAD_LOCAL_STORAGE_INITIALIZE

#define ADOBE_THREAD_LOCAL_STORAGE_INITIALIZE ( signature)
Parameters
signatureA unique identifier for this thread-local object.

Definition at line 25 of file once.hpp.

◆ ADOBE_THREAD_LOCAL_STORAGE_ACCESS

#define ADOBE_THREAD_LOCAL_STORAGE_ACCESS ( signature)
Parameters
signatureA unique identifier for this thread-local object.

Definition at line 27 of file once.hpp.