Helper function for debugging checks. Fetch ptr for a given ThreadEnrtry. Used to sanity check the value in ElementDisposeInfo wrapper matches the ElementWrapper array used for fast access from the thread itself.

Synopsis

Declared in <folly/detail/ThreadLocalDetail.h>

void*
getPtrForThread(ThreadEntry* entry) const;

Return Value

The element pointer tracked for the thread entry.

Parameters

Name

Description

entry

The thread entry to fetch the pointer for.

Created with MrDocs