Home
last modified time | relevance | path

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

/libuv/test/
H A Dtest-thread.c62 static uv_key_t tls_key; variable
193 ASSERT_NULL(uv_key_get(&tls_key)); in tls_thread()
194 uv_key_set(&tls_key, arg); in tls_thread()
195 ASSERT_PTR_EQ(arg, uv_key_get(&tls_key)); in tls_thread()
196 uv_key_set(&tls_key, NULL); in tls_thread()
197 ASSERT_NULL(uv_key_get(&tls_key)); in tls_thread()
204 ASSERT_OK(uv_key_create(&tls_key)); in TEST_IMPL()
205 ASSERT_NULL(uv_key_get(&tls_key)); in TEST_IMPL()
206 uv_key_set(&tls_key, name); in TEST_IMPL()
207 ASSERT_PTR_EQ(name, uv_key_get(&tls_key)); in TEST_IMPL()
[all …]

Completed in 5 milliseconds