Home | History | Annotate | Download | only in test

Lines Matching refs:thread

4 #include "thread.h"
9 thread_t *thread = thread_new("test_thread");
10 ASSERT_TRUE(thread != NULL);
11 thread_free(thread);
15 thread_t *thread = thread_new("test_thread");
16 thread_free(thread);
20 thread_t *thread = thread_new("test_name");
21 ASSERT_STREQ(thread_name(thread), "test_name");
22 thread_free(thread);
26 thread_t *thread = thread_new("0123456789abcdef");
27 ASSERT_STREQ("0123456789abcdef", thread_name(thread));
28 thread_free(thread);
32 thread_t *thread = thread_new("0123456789abcdefg");
33 ASSERT_STREQ("0123456789abcdef", thread_name(thread));
34 thread_free(thread);