BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Namespaces | Functions | Variables
thread_specific.cpp File Reference
#include <fc/log/logger.hpp>
#include <fc/thread/thread_specific.hpp>
#include "thread_d.hpp"
#include <boost/atomic.hpp>

Go to the source code of this file.

Namespaces

 fc
 
 fc::detail
 

Functions

unsigned fc::detail::get_next_unused_thread_storage_slot ()
 
void * fc::detail::get_specific_data (std::vector< detail::specific_data_info > *specific_data, unsigned slot)
 
void fc::detail::set_specific_data (std::vector< detail::specific_data_info > *specific_data, unsigned slot, void *new_value, void(*cleanup)(void *))
 
void * fc::detail::get_thread_specific_data (unsigned slot)
 
void fc::detail::set_thread_specific_data (unsigned slot, void *new_value, void(*cleanup)(void *))
 
unsigned fc::detail::get_next_unused_task_storage_slot ()
 
void * fc::detail::get_task_specific_data (unsigned slot)
 
void fc::detail::set_task_specific_data (unsigned slot, void *new_value, void(*cleanup)(void *))
 

Variables

boost::atomic< unsigned > fc::detail::thread_specific_slot_counter