Lines Matching defs:thread
102 /* Wait for the other thread. Guard against spurious wakeups. */
113 /* Write lock held by other thread. */
118 /* Read lock held by other thread. */
134 synchronize_nowait(); /* Signal main thread we're going away. */
140 uv_thread_t thread;
147 ASSERT_OK(uv_thread_create(&thread, thread_rwlock_trylock_peer, NULL));
151 synchronize(); /* Releases the mutex to the other thread. */
164 /* Write lock held by other thread. */
169 /* Read lock held by other thread. */
175 ASSERT_OK(uv_thread_join(&thread));