Rosetta Utilities  2014.35
Namespaces | Functions
threadsafe_creation.hh File Reference
#include <utility/thread/threadsafe_creation.fwd.hh>
#include <boost/function.hpp>
#include <utility/pointer/owning_ptr.hh>
#include <map>

Namespaces

 utility
 unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 1.
 
 utility::thread
 

Functions

template<class T >
void utility::thread::safely_create_singleton (boost::function< T *() > creation_func, T *&instance)
 Safely instantiate a singleton class in a (possibly) multithreaded context. More...