Apply fn on all suspended leaf frames. Note: Avoid performing async work within fn as it may cause deadlocks.
Synopsis
Declared in <folly/tracing/AsyncStack.h>
void
sweepSuspendedLeafFrames(folly::FunctionRef<void(xref:folly/AsyncStackFrame.adoc[AsyncStackFrame*)>] fn);
Description
This API does nothing in non‐debug‐builds.
Parameters
Name |
Description |
fn |
Callable applied to each suspended leaf frame. |
Created with MrDocs