| Rapicorn - Experimental UI Toolkit - Source Code
    13.07.0
    | 
Class keeping information per Thread. More...
#include <thread.hh>
| Hazard Pointers | |
| typedef std::vector< void * > | VoidPointers | 
| void *volatile | hp [8] | 
| Hazard pointers variables, see: http://www.research.ibm.com/people/m/michael/ieeetpds-2004.pdf . | |
| static VoidPointers | collect_hazards () | 
| Collect hazard pointers from all threads. Returns sorted vector of unique elements. | |
| static bool | lookup_pointer (const std::vector< void * > &ptrs, void *arg) | 
| Lookup pointers in a hazard pointer vector. | |
| Thread identification | |
| static ThreadInfo & | self () | 
| Get ThreadInfo for the current thread, inlined, using fast thread local storage. | |
| String | ident () | 
| Simple identifier for this thread, usually TID/PID. | |
| String | name () | 
| Get thread name. | |
| void | name (const String &newname) | 
| Change thread name. | |
| Accessing custom data members | |
| For further details, see DataListContainer. | |
| template<typename T > | |
| T | get_data (DataKey< T > *key) | 
| template<typename T > | |
| void | set_data (DataKey< T > *key, T data) | 
| template<typename T > | |
| void | delete_data (DataKey< T > *key) | 
| template<typename T > | |
| T | swap_data (DataKey< T > *key) | 
| template<typename T > | |
| T | swap_data (DataKey< T > *key, T data) | 
Class keeping information per Thread.
| bool Rapicorn::ThreadInfo::lookup_pointer | ( | const std::vector< void * > & | ptrs, | 
| void * | arg | ||
| ) |  [inline, static] | 
Lookup pointers in a hazard pointer vector.
 1.7.6.1
 1.7.6.1