Activate the specified AsyncStackFrame on the specified AsyncStackRoot, setting it as the current 'topFrame'.
Synopsis
Declared in <folly/tracing/AsyncStack.h>
void
activateAsyncStackFrame(
folly::AsyncStackRoot& root,
folly::AsyncStackFrame& frame) noexcept;
Description
The AsyncStackRoot must be the current thread's top‐most AsyncStackRoot and it must not currently have an active 'topFrame'.
This is typically called immediately prior to executing a callback that resumes the async operation represented by 'frame'.
Parameters
Name |
Description |
root |
The current thread's top‐most stack root. |
frame |
The frame to activate as the top frame. |
Created with MrDocs