Get access to the current thread's top‐most AsyncStackRoot.
Synopsis
Declared in <folly/tracing/AsyncStack.h>
[[nodiscard]]
AsyncStackRoot*
tryGetCurrentAsyncStackRoot() noexcept;
Description
Returns nullptr if there is no active AsyncStackRoot.
Return Value
Pointer to the current thread's top‐most stack root, or null.
|
Note
|
The return value should not be discarded. |
Created with MrDocs