MCPcopy Create free account
hub / github.com/VKCOM/kphp / suspend_awaiter

Method suspend_awaiter

runtime-light/coroutine/shared-task.h:87–120  ·  view source on GitHub ↗

try to enqueue a awaiter to the list of awaiters. return true if the awaiter was successfully queued, in which case awaiter->coroutine will be resumed when the task completes. false if the coroutine was already completed and the awaiting coroutine can continue without suspending.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

await_suspendMethod · 0.45

Calls 1

resumeFunction · 0.85

Tested by

no test coverage detected