MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / init

Function init

extern/boost/boost/thread/future.hpp:5550–5561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5548 return res;
5549 }
5550 void init() {
5551 if (! run_deferred())
5552 {
5553 future_when_all_vector_shared_state::run(this->shared_from_this());
5554 return;
5555 }
5556#ifdef BOOST_THREAD_FUTURE_BLOCKING
5557 this->thr_ = boost::thread(&future_when_all_vector_shared_state::run, this->shared_from_this());
5558#else
5559 boost::thread(&future_when_all_vector_shared_state::run, this->shared_from_this()).detach();
5560#endif
5561 }
5562
5563 public:
5564 template< typename InputIterator>

Callers

nothing calls this directly

Calls 5

run_deferredFunction · 0.85
shared_from_thisMethod · 0.80
runFunction · 0.70
threadFunction · 0.50
detachMethod · 0.45

Tested by

no test coverage detected