MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / schedule

Function schedule

include/fc/thread/thread.hpp:205–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203 }
204 template<typename Functor>
205 auto schedule( Functor&& f, const fc::time_point& t, const char* desc FC_TASK_NAME_DEFAULT_ARG, priority prio = priority()) -> fc::future<decltype(f())> {
206 return fc::thread::current().schedule( fc::forward<Functor>(f), t, desc, prio );
207 }
208
209 /**
210 * Call f() in thread t and block the current thread until it returns.

Callers 15

delegate_loopMethod · 0.85
local_pending_loopMethod · 0.85
Login.cppFile · 0.85
relockerMethod · 0.85

Calls 2

scheduleMethod · 0.80
priorityClass · 0.70

Tested by

no test coverage detected