Lines Matching refs:thread
126 /* uv_cond_wait: One thread signals, the other waits. */
129 uv_thread_t thread;
133 ASSERT_OK(uv_thread_create(&thread, worker, &wc));
139 ASSERT_OK(uv_thread_join(&thread));
145 /* uv_cond_wait: One thread broadcasts, the other waits. */
148 uv_thread_t thread;
152 ASSERT_OK(uv_thread_create(&thread, worker, &wc));
158 ASSERT_OK(uv_thread_join(&thread));
190 /* uv_cond_timedwait: One thread signals, the other timedwaits. */
193 uv_thread_t thread;
197 ASSERT_OK(uv_thread_create(&thread, worker, &wc));
203 ASSERT_OK(uv_thread_join(&thread));
209 /* uv_cond_timedwait: One thread broadcasts, the other waits. */
212 uv_thread_t thread;
216 ASSERT_OK(uv_thread_create(&thread, worker, &wc));
222 ASSERT_OK(uv_thread_join(&thread));
228 /* uv_cond_timedwait: One thread waits, no signal. Timeout should be delivered. */