Home
last modified time | relevance | path

Searched refs:g_atfork_test_handle (Results 1 – 1 of 1) sorted by relevance

/bionic/tests/
Dpthread_dlfcn_test.cpp40 static void* g_atfork_test_handle = nullptr; variable
43 static void AtForkChild() { dlclose(g_atfork_test_handle); g_atfork_test_handle = dlopen("libtest_p… in AtForkChild()
93 g_atfork_test_handle = dlopen("libtest_pthread_atfork.so", RTLD_NOW | RTLD_LOCAL); in TEST()
94 ASSERT_TRUE(g_atfork_test_handle != nullptr) << dlerror(); in TEST()
96 fn_t fn = reinterpret_cast<fn_t>(dlsym(g_atfork_test_handle, "proxy_pthread_atfork")); in TEST()
112 EXPECT_EQ(0, dlclose(g_atfork_test_handle)); in TEST()
113 g_atfork_test_handle = nullptr; in TEST()