class LibcThreadTestScopedTlsGlobals

Defined at line 21 of file ../../sdk/lib/c/threads/thread-storage-test-utils.h

This provides a simple way of setting gTlsLayout and gInitializeTls within a test to

be used by ThreadStorage::GetTlsLayout and ThreadStorage::InitializeTls in test code.

Public Members

static const size_t kTestVmarSizeBytes
static TlsLayout gTlsLayout
static function_impl gInitializeTls

Public Methods

void LibcThreadTestScopedTlsGlobals (TlsLayout tls_layout, InitTlsFn initialize_tls)

Defined at line 31 of file ../../sdk/lib/c/threads/thread-storage-test-utils.h

void ~LibcThreadTestScopedTlsGlobals ()

Defined at line 36 of file ../../sdk/lib/c/threads/thread-storage-test-utils.h