GraphLab: Distributed Graph-Parallel API
2.1
|
#include <graphlab/parallel/pthread_tools.hpp>
Public Member Functions | |
tls_data (size_t thread_id) | |
size_t | thread_id () |
void | set_thread_id (size_t t) |
any & | operator[] (const size_t &id) |
bool | contains (const size_t &id) const |
size_t | erase (const size_t &id) |
This class contains the data unique to each thread. All threads are gauranteed to have an associated graphlab thread_specific data. The thread object is copyable.
Definition at line 728 of file pthread_tools.hpp.