Lines Matching refs:thread_name
35 char thread_name[16]; in thread_run() local
53 r = uv_thread_getname(&thread, thread_name, sizeof(thread_name)); in thread_run()
56 ASSERT_STR_EQ(thread_name, "worker-thread"); in thread_run()
61 TEST_IMPL(thread_name) { in TEST_IMPL() argument
65 char thread_name[UV_PTHREAD_MAX_NAMELEN_NP]; in TEST_IMPL() local
79 memset(thread_name, 'a', sizeof(thread_name) - 1); in TEST_IMPL()
80 thread_name[sizeof(thread_name) - 1] = '\0'; in TEST_IMPL()
100 ASSERT_STR_EQ(tn, thread_name); in TEST_IMPL()
102 r = uv_thread_setname(thread_name); in TEST_IMPL()
107 ASSERT_STR_EQ(tn, thread_name); in TEST_IMPL()
112 ASSERT_OK(memcmp(thread_name, tn, 2)); in TEST_IMPL()