Nebula
Loading...
Searching...
No Matches
Linux::LinuxThreadLocalPtr Class Reference

#include <linuxthreadlocalptr.h>

Detailed Description

A thread-local pointer class for platforms which don't have proper support for the __thread keyword.

(C) A.Weissflog 2011 (C) 2013-2018 Individual contributors, see AUTHORS file

Public Member Functions

 LinuxThreadLocalPtr ()
 constructor
 
void Set (void *ptr)
 set pointer
 
void * Get () const
 get pointer
 
void Clear ()
 clear the pointer
 

Private Attributes

IndexT slot
 

Constructor & Destructor Documentation

◆ LinuxThreadLocalPtr()

Linux::LinuxThreadLocalPtr::LinuxThreadLocalPtr ( )

constructor

Member Function Documentation

◆ Clear()

void Linux::LinuxThreadLocalPtr::Clear ( )
inline

clear the pointer

◆ Get()

void * Linux::LinuxThreadLocalPtr::Get ( ) const
inline

get pointer

◆ Set()

void Linux::LinuxThreadLocalPtr::Set ( void * ptr)
inline

set pointer

Member Data Documentation

◆ slot

IndexT Linux::LinuxThreadLocalPtr::slot
private

The documentation for this class was generated from the following files: