artefaktur
software engineer &        architecture

 
 
 
 

class core_specific

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lang::sys::core_specific Class Reference

#include <core_specific.h>

Inheritance diagram for acdk::lang::sys::core_specific:

acdk::lang::sys::specific< T > List of all members.

Public Types

typedef void(* CleanUpFunc )(void *ptr)

Public Member Functions

 core_specific ()
virtual ~core_specific ()
void set (void *t)
void * get ()
bool isSet ()
 returns true if an initial value is set

int get_key () const
void register_cleanup (CleanUpFunc fnc)
void get_locals (core_vector< void * > &erg)
 returns the values of this thread_specific in all threads.


Static Public Member Functions

void cleanup (void *ptr)
void thread_cleanup ()
 the current thread going down.

void get_thread_locals (core_vector< void * > &erg, core_thread_id tid)

Private Attributes

int _value_index

Friends

class core_tls_tables

Member Typedef Documentation

typedef void(* acdk::lang::sys::core_specific::CleanUpFunc)(void* ptr)
 


Constructor & Destructor Documentation

acdk::lang::sys::core_specific::core_specific  ) 
 

virtual acdk::lang::sys::core_specific::~core_specific  )  [virtual]
 


Member Function Documentation

void acdk::lang::sys::core_specific::cleanup void *  ptr  )  [inline, static]
 

Reimplemented in acdk::lang::sys::specific< T >, acdk::lang::sys::specific< RObject >, and acdk::lang::sys::specific< JNIEnv * >.

void* acdk::lang::sys::core_specific::get  ) 
 

Reimplemented in acdk::lang::sys::specific< T >, acdk::lang::sys::specific< RObject >, and acdk::lang::sys::specific< JNIEnv * >.

int acdk::lang::sys::core_specific::get_key  )  const [inline]
 

void acdk::lang::sys::core_specific::get_locals core_vector< void * > &  erg  ) 
 

returns the values of this thread_specific in all threads.

Note:
be care, this is not synchronized, and should only used for debugging.

void acdk::lang::sys::core_specific::get_thread_locals core_vector< void * > &  erg,
core_thread_id  tid
[static]
 

bool acdk::lang::sys::core_specific::isSet  )  [inline]
 

returns true if an initial value is set

Reimplemented in acdk::lang::sys::specific< T >, acdk::lang::sys::specific< RObject >, and acdk::lang::sys::specific< JNIEnv * >.

void acdk::lang::sys::core_specific::register_cleanup CleanUpFunc  fnc  ) 
 

void acdk::lang::sys::core_specific::set void *  t  ) 
 

void acdk::lang::sys::core_specific::thread_cleanup  )  [static]
 

the current thread going down.

cleanup all specific data


Friends And Related Function Documentation

friend class core_tls_tables [friend]
 


Member Data Documentation

int acdk::lang::sys::core_specific::_value_index [private]
 

 
Last modified 2005-05-08 18:32 by SYSTEM By Artefaktur, Ing. Bureau Kommer