Pop current ThreadEntrySet and for each ThreadEntry in it, clear its ElementWrapper for the 'id' and return them in the accumulated vector. This is called when an TL object is destroyed. The ElementWrapper returned are the responsibility of the calling thread to dispose of.
Synopsis
Declared in <folly/detail/ThreadLocalDetail.h>
ThreadEntrySet
popThreadEntrySetAndClearElementPtrs(uint32_t id);
Return Value
The set of entries whose elements were cleared.
Parameters
Name |
Description |
id |
The slot id whose set is popped and cleared. |
Created with MrDocs