template <class Allocator, u32 TSDsArraySize, u32 DefaultTSDCount>

struct TSDRegistrySharedT

Defined at line 28 of file ../../third_party/scudo/src/tsd_shared.h

Public Methods

void init (Allocator * Instance)

Defined at line 50 of file ../../third_party/scudo/src/tsd_shared.h

void initOnceMaybe (Allocator * Instance)

Defined at line 66 of file ../../third_party/scudo/src/tsd_shared.h

void unmapTestOnly (Allocator * Instance)

Defined at line 72 of file ../../third_party/scudo/src/tsd_shared.h

void drainCaches (Allocator * Instance)

Defined at line 82 of file ../../third_party/scudo/src/tsd_shared.h

void initThreadMaybe (Allocator * Instance, bool MinimalInit)

Defined at line 91 of file ../../third_party/scudo/src/tsd_shared.h

void disable ()

Only the first NumberOfTSDs TSDs are ever handed out, so skip the rest to

avoid dirtying their pages around fork(). setNumberOfTSDs() only grows the

count under Mutex, which is held until enable(), so both loops match.

Defined at line 101 of file ../../third_party/scudo/src/tsd_shared.h

void enable ()

Defined at line 108 of file ../../third_party/scudo/src/tsd_shared.h

bool setOption (Option O, sptr Value)

Defined at line 115 of file ../../third_party/scudo/src/tsd_shared.h

bool getDisableMemInit ()

Defined at line 126 of file ../../third_party/scudo/src/tsd_shared.h

void getStats (ScopedString * Str)

Defined at line 128 of file ../../third_party/scudo/src/tsd_shared.h

Records