class DlImplTestsTls

Defined at line 24 of file ../../sdk/lib/c/dlfcn/dl/test/dl-impl-tests.h

This handles TLS runtime test support that need not be templated like the

rest of DlImplTests. The only instance of this (empty) class is its own

private thread_local that ensures per-thread cleanup.

Public Methods

void Prepare (const RuntimeDynamicLinker & linker)

Ensure this thread is ready for a TLSDESC access. This stands in for the

integration of thread startup with RuntimeDynamicLinker, and for the

synchronization regime for existing threads when dlopen expands the

_dl_tlsdesc_runtime_dynamic_blocks arrays.

Defined at line 15 of file ../../sdk/lib/c/dlfcn/dl/test/dl-impl-tests.cc

void Cleanup ()

At teardown for in-test extra threads, or at the end of the test on the main

thread, the array is freed.

Defined at line 50 of file ../../sdk/lib/c/dlfcn/dl/test/dl-impl-tests.cc