MCPcopy Create free account
hub / github.com/ByConity/ByConity / trySchedule

Method trySchedule

src/Common/ThreadPool.cpp:217–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215
216template <typename Thread>
217bool ThreadPoolImpl<Thread>::trySchedule(Job job, int priority, uint64_t wait_microseconds) noexcept
218{
219 return scheduleImpl<bool>(std::move(job), priority, wait_microseconds);
220}
221
222template <typename Thread>
223void ThreadPoolImpl<Thread>::scheduleOrThrow(Job job, int priority, uint64_t wait_microseconds)

Callers 8

mainFunction · 0.80
scheduleCacheTaskMethod · 0.80
stopConsumersMethod · 0.80
runMethod · 0.80
addWorkerMethod · 0.80
performance_testFunction · 0.80
scheduleTaskMethod · 0.80
mainMethod · 0.80

Calls

no outgoing calls

Tested by 2

mainFunction · 0.64
performance_testFunction · 0.64