Rosetta
|
#include <utility/thread/threadsafe_creation.fwd.hh>
#include <boost/function.hpp>
#include <utility/pointer/owning_ptr.hh>
#include <map>
Go to the source code of this file.
Namespaces | |
utility | |
unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 0. | |
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... | |