src/runtime/threads/executors/current_executor.cpp
// Schedule given function for execution in this executor no sooner
// than time rel_time from now. This call never blocks, and may
// violate bounds on the executor's queue size.
Schedule given function for execution in this executor no sooner
than time rel_time from now. This call never blocks, and may
violate bounds on the executor's queue size.
Schedule given function for execution in this executor no sooner than time rel_time from now . This call never blocks and may violate bounds on the executor ' s queue size .
void current_executor::add_after(
        util::steady_clock::duration const& rel_time,
        closure_type&& f, util::thread_description const& desc,
        threads::thread_stacksize stacksize, error_code& ec)
    {
        return add_at(util::steady_clock::now() + rel_time,
            std::move(f), desc, stacksize, ec);
    }
void current_executor :: add_after ( util :: steady_clock :: duration const & rel_time , closure_type && f , util :: thread_description const & desc , threads :: thread_stacksize stacksize , error_code & ec ) { return add_at ( util :: steady_clock :: now ( ) + rel_time , std :: move ( f ) , desc , stacksize , ec ) ; }
Schedule given function for execution in this executor no sooner
than time rel_time from now.
Schedule given function for execution in this executor no sooner than time rel_time from now .