Home
last modified time | relevance | path

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

/libuv/test/
H A Dtest-thread-name.c64 char tn[UV_PTHREAD_MAX_NAMELEN_NP]; in TEST_IMPL() local
92 r = uv_thread_getname(&threads[0], tn, sizeof(tn)); in TEST_IMPL()
98 r = uv_thread_getname(&threads[0], tn, sizeof(tn)); in TEST_IMPL()
100 ASSERT_STR_EQ(tn, thread_name); in TEST_IMPL()
105 r = uv_thread_getname(&threads[0], tn, sizeof(tn)); in TEST_IMPL()
107 ASSERT_STR_EQ(tn, thread_name); in TEST_IMPL()
111 ASSERT_EQ(strlen(tn), 2); in TEST_IMPL()
119 r = uv_thread_getname(&threads[0], tn, sizeof(tn)); in TEST_IMPL()
121 ASSERT_STR_EQ(tn, "~½¬{½"); in TEST_IMPL()
128 r = uv_thread_getname(threads + 1, tn, sizeof(tn)); in TEST_IMPL()
[all …]

Completed in 3 milliseconds