MCPcopy Create free account
hub / github.com/cvet/fonline / submit_impl

Function submit_impl

Source/Essentials/Threading.cpp:116–159  ·  view source on GitHub ↗

Common submit path for both pools. Returns `true` if the task was accepted (either by an idle worker or by a newly spawned worker), or queued when `can_queue` is `true`. Returns `false` when `can_queue` is `false` and the pool has no idle worker AND is already at its `MaxWorkers` cap — that signal is used by `try_submit_async` to let the caller fall back to inline synchronous execution.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

submit_run_threadFunction · 0.85
try_submit_asyncFunction · 0.85
submit_asyncFunction · 0.85

Calls 5

stringFunction · 0.85
spawn_pool_workerFunction · 0.85
strexClass · 0.85
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected