thread            126 maint/gnulib/lib/glthread/thread.c     gl_thread_t thread =
thread            128 maint/gnulib/lib/glthread/thread.c     if (thread == NULL)
thread            134 maint/gnulib/lib/glthread/thread.c             thread =
thread            137 maint/gnulib/lib/glthread/thread.c             if (thread != NULL)
thread            148 maint/gnulib/lib/glthread/thread.c         thread->tid = thrd_current ();
thread            149 maint/gnulib/lib/glthread/thread.c         thread->exitvalue = NULL; /* just to be deterministic */
thread            150 maint/gnulib/lib/glthread/thread.c         if (tss_set (thrd_with_exitvalue_key, thread) != thrd_success)
thread            153 maint/gnulib/lib/glthread/thread.c     return thread;
thread            158 maint/gnulib/lib/glthread/thread.c glthread_join (gl_thread_t thread, void **return_value_ptr)
thread            164 maint/gnulib/lib/glthread/thread.c   if (thread == gl_thread_self ())
thread            166 maint/gnulib/lib/glthread/thread.c   if (thrd_join (thread->tid, &dummy) != thrd_success)
thread            169 maint/gnulib/lib/glthread/thread.c     *return_value_ptr = thread->exitvalue;
thread            170 maint/gnulib/lib/glthread/thread.c   free (thread);
thread            177 maint/gnulib/lib/glthread/thread.c   gl_thread_t thread = gl_thread_self ();
thread            178 maint/gnulib/lib/glthread/thread.c   thread->exitvalue = return_value;
thread            209 maint/gnulib/lib/glthread/thread.c   gl_thread_t thread;
thread            212 maint/gnulib/lib/glthread/thread.c   ret = glthread_create (&thread, func, arg);
thread            215 maint/gnulib/lib/glthread/thread.c   return thread;
thread            107 maint/gnulib/lib/glthread/thread.h extern int glthread_join (gl_thread_t thread, void **return_value_ptr);
thread             80 maint/gnulib/lib/glthread/threadlib.c       pthread_t thread;
thread             82 maint/gnulib/lib/glthread/threadlib.c       if (pthread_create (&thread, NULL, dummy_thread_func, NULL) != 0)
thread             89 maint/gnulib/lib/glthread/threadlib.c           if (pthread_join (thread, &retval) != 0)
thread             96 maint/gnulib/lib/pthread-thread.c pthread_detach (pthread_t thread)
thread             98 maint/gnulib/lib/pthread-thread.c   return glwthread_thread_detach (thread);
thread            102 maint/gnulib/lib/pthread-thread.c pthread_join (pthread_t thread, void **valuep)
thread            104 maint/gnulib/lib/pthread-thread.c   return glwthread_thread_join (thread, valuep);
thread            158 maint/gnulib/lib/pthread-thread.c pthread_detach (pthread_t thread)
thread            165 maint/gnulib/lib/pthread-thread.c pthread_join (pthread_t thread, void **valuep)
thread            674 maint/gnulib/lib/pthread.in.h _GL_FUNCDECL_RPL (pthread_detach, int, (pthread_t thread));
thread            675 maint/gnulib/lib/pthread.in.h _GL_CXXALIAS_RPL (pthread_detach, int, (pthread_t thread));
thread            678 maint/gnulib/lib/pthread.in.h _GL_FUNCDECL_SYS (pthread_detach, int, (pthread_t thread));
thread            680 maint/gnulib/lib/pthread.in.h _GL_CXXALIAS_SYS (pthread_detach, int, (pthread_t thread));
thread            699 maint/gnulib/lib/pthread.in.h _GL_FUNCDECL_RPL (pthread_join, int, (pthread_t thread, void **valuep));
thread            700 maint/gnulib/lib/pthread.in.h _GL_CXXALIAS_RPL (pthread_join, int, (pthread_t thread, void **valuep));
thread            703 maint/gnulib/lib/pthread.in.h _GL_FUNCDECL_SYS (pthread_join, int, (pthread_t thread, void **valuep));
thread            705 maint/gnulib/lib/pthread.in.h _GL_CXXALIAS_SYS (pthread_join, int, (pthread_t thread, void **valuep));
thread            130 maint/gnulib/lib/thrd.c     rpl_thrd_t thread =
thread            132 maint/gnulib/lib/thrd.c     if (thread == NULL)
thread            138 maint/gnulib/lib/thrd.c             thread =
thread            141 maint/gnulib/lib/thrd.c             if (thread != NULL)
thread            152 maint/gnulib/lib/thrd.c         thread->tid = thrd_current ();
thread            153 maint/gnulib/lib/thrd.c         thread->detached = 0; /* This can lead to a memory leak.  */
thread            154 maint/gnulib/lib/thrd.c         thread->exitcode = 0; /* just to be deterministic */
thread            155 maint/gnulib/lib/thrd.c         if (tss_set (thrd_with_exitcode_key, thread) != thrd_success)
thread            158 maint/gnulib/lib/thrd.c     return thread;
thread            169 maint/gnulib/lib/thrd.c rpl_thrd_detach (rpl_thrd_t thread)
thread            172 maint/gnulib/lib/thrd.c   if (thread->detached)
thread            176 maint/gnulib/lib/thrd.c       thrd_detach (thread == rpl_thrd_current ()
thread            179 maint/gnulib/lib/thrd.c                    : thread->tid);
thread            181 maint/gnulib/lib/thrd.c       thread->detached = 1;
thread            187 maint/gnulib/lib/thrd.c rpl_thrd_join (rpl_thrd_t thread, int *exitcodep)
thread            190 maint/gnulib/lib/thrd.c   if (thread == rpl_thrd_current () || thread->detached)
thread            193 maint/gnulib/lib/thrd.c     int err = thrd_join (thread->tid, NULL);
thread            197 maint/gnulib/lib/thrd.c           *exitcodep = thread->exitcode;
thread            198 maint/gnulib/lib/thrd.c         free (thread);
thread            210 maint/gnulib/lib/thrd.c rpl_thrd_join (thrd_t thread, int *exitcodep)
thread            214 maint/gnulib/lib/thrd.c   int err = thrd_join (thread, &exitcode);
thread            321 maint/gnulib/lib/thrd.c thrd_detach (thrd_t thread)
thread            323 maint/gnulib/lib/thrd.c   int err = glwthread_thread_detach (thread);
thread            328 maint/gnulib/lib/thrd.c thrd_join (thrd_t thread, int *exitcodep)
thread            331 maint/gnulib/lib/thrd.c   int err = glwthread_thread_join (thread, &exitptr);
thread            395 maint/gnulib/lib/thrd.c thrd_detach (thrd_t thread)
thread            397 maint/gnulib/lib/thrd.c   int err = pthread_detach (thread);
thread            402 maint/gnulib/lib/thrd.c thrd_join (thrd_t thread, int *exitcodep)
thread            405 maint/gnulib/lib/thrd.c   int err = pthread_join (thread, &exitptr);
thread             87 maint/gnulib/lib/windows-thread.c   glwthread_thread_t thread;
thread             91 maint/gnulib/lib/windows-thread.c   thread = TlsGetValue (self_key);
thread             92 maint/gnulib/lib/windows-thread.c   if (thread == NULL)
thread             98 maint/gnulib/lib/windows-thread.c           thread =
thread            101 maint/gnulib/lib/windows-thread.c           if (thread != NULL)
thread            108 maint/gnulib/lib/windows-thread.c       thread->handle = get_current_thread_handle ();
thread            109 maint/gnulib/lib/windows-thread.c       InitializeCriticalSection (&thread->handle_lock);
thread            110 maint/gnulib/lib/windows-thread.c       thread->detached = FALSE; /* This can lead to a memory leak.  */
thread            111 maint/gnulib/lib/windows-thread.c       thread->result = NULL; /* just to be deterministic */
thread            112 maint/gnulib/lib/windows-thread.c       TlsSetValue (self_key, thread);
thread            114 maint/gnulib/lib/windows-thread.c   return thread;
thread            122 maint/gnulib/lib/windows-thread.c   struct glwthread_thread_struct *thread =
thread            125 maint/gnulib/lib/windows-thread.c   EnterCriticalSection (&thread->handle_lock);
thread            128 maint/gnulib/lib/windows-thread.c   if (thread->handle == NULL)
thread            129 maint/gnulib/lib/windows-thread.c     thread->handle = get_current_thread_handle ();
thread            130 maint/gnulib/lib/windows-thread.c   LeaveCriticalSection (&thread->handle_lock);
thread            134 maint/gnulib/lib/windows-thread.c   TlsSetValue (self_key, thread);
thread            138 maint/gnulib/lib/windows-thread.c   thread->result = thread->func (thread->arg);
thread            143 maint/gnulib/lib/windows-thread.c   if (thread->detached)
thread            146 maint/gnulib/lib/windows-thread.c       DeleteCriticalSection (&thread->handle_lock);
thread            147 maint/gnulib/lib/windows-thread.c       CloseHandle (thread->handle);
thread            148 maint/gnulib/lib/windows-thread.c       free (thread);
thread            158 maint/gnulib/lib/windows-thread.c   struct glwthread_thread_struct *thread =
thread            161 maint/gnulib/lib/windows-thread.c   if (thread == NULL)
thread            163 maint/gnulib/lib/windows-thread.c   thread->handle = NULL;
thread            164 maint/gnulib/lib/windows-thread.c   InitializeCriticalSection (&thread->handle_lock);
thread            165 maint/gnulib/lib/windows-thread.c   thread->detached = (attr & GLWTHREAD_ATTR_DETACHED ? TRUE : FALSE);
thread            166 maint/gnulib/lib/windows-thread.c   thread->result = NULL; /* just to be deterministic */
thread            167 maint/gnulib/lib/windows-thread.c   thread->func = func;
thread            168 maint/gnulib/lib/windows-thread.c   thread->arg = arg;
thread            175 maint/gnulib/lib/windows-thread.c       _beginthreadex (NULL, 100000, wrapper_func, thread, 0, &thread_id);
thread            179 maint/gnulib/lib/windows-thread.c         DeleteCriticalSection (&thread->handle_lock);
thread            180 maint/gnulib/lib/windows-thread.c         free (thread);
thread            184 maint/gnulib/lib/windows-thread.c     EnterCriticalSection (&thread->handle_lock);
thread            185 maint/gnulib/lib/windows-thread.c     if (thread->handle == NULL)
thread            186 maint/gnulib/lib/windows-thread.c       thread->handle = thread_handle;
thread            190 maint/gnulib/lib/windows-thread.c     LeaveCriticalSection (&thread->handle_lock);
thread            192 maint/gnulib/lib/windows-thread.c     *threadp = thread;
thread            198 maint/gnulib/lib/windows-thread.c glwthread_thread_join (glwthread_thread_t thread, void **retvalp)
thread            200 maint/gnulib/lib/windows-thread.c   if (thread == NULL)
thread            203 maint/gnulib/lib/windows-thread.c   if (thread == glwthread_thread_self ())
thread            206 maint/gnulib/lib/windows-thread.c   if (thread->detached)
thread            209 maint/gnulib/lib/windows-thread.c   if (WaitForSingleObject (thread->handle, INFINITE) == WAIT_FAILED)
thread            213 maint/gnulib/lib/windows-thread.c     *retvalp = thread->result;
thread            215 maint/gnulib/lib/windows-thread.c   DeleteCriticalSection (&thread->handle_lock);
thread            216 maint/gnulib/lib/windows-thread.c   CloseHandle (thread->handle);
thread            217 maint/gnulib/lib/windows-thread.c   free (thread);
thread            223 maint/gnulib/lib/windows-thread.c glwthread_thread_detach (glwthread_thread_t thread)
thread            225 maint/gnulib/lib/windows-thread.c   if (thread == NULL)
thread            228 maint/gnulib/lib/windows-thread.c   if (thread->detached)
thread            231 maint/gnulib/lib/windows-thread.c   thread->detached = TRUE;
thread            238 maint/gnulib/lib/windows-thread.c   glwthread_thread_t thread = glwthread_thread_self ();
thread            239 maint/gnulib/lib/windows-thread.c   thread->result = retval;
thread             46 maint/gnulib/lib/windows-thread.h extern int glwthread_thread_join (glwthread_thread_t thread, void **retvalp);
thread             47 maint/gnulib/lib/windows-thread.h extern int glwthread_thread_detach (glwthread_thread_t thread);
thread             85 maint/gnulib/tests/test-cnd.c   thrd_t thread;
thread             93 maint/gnulib/tests/test-cnd.c   ASSERT (thrd_create (&thread, cnd_wait_routine, NULL) == thrd_success);
thread            108 maint/gnulib/tests/test-cnd.c   ASSERT (thrd_join (thread, NULL) == thrd_success);
thread            154 maint/gnulib/tests/test-cnd.c   thrd_t thread;
thread            162 maint/gnulib/tests/test-cnd.c   ASSERT (thrd_create (&thread, cnd_timedwait_routine, NULL) == thrd_success);
thread            177 maint/gnulib/tests/test-cnd.c   ASSERT (thrd_join (thread, NULL) == thrd_success);
thread             85 maint/gnulib/tests/test-cond.c   gl_thread_t thread;
thread             89 maint/gnulib/tests/test-cond.c   thread = gl_thread_create (cond_routine, NULL);
thread            103 maint/gnulib/tests/test-cond.c   gl_thread_join (thread, NULL);
thread            149 maint/gnulib/tests/test-cond.c   gl_thread_t thread;
thread            153 maint/gnulib/tests/test-cond.c   thread = gl_thread_create (timedcond_routine, NULL);
thread            167 maint/gnulib/tests/test-cond.c   gl_thread_join (thread, NULL);
thread             90 maint/gnulib/tests/test-pthread-cond.c   pthread_t thread;
thread             98 maint/gnulib/tests/test-pthread-cond.c   ASSERT (pthread_create (&thread, NULL, pthread_cond_wait_routine, NULL) == 0);
thread            113 maint/gnulib/tests/test-pthread-cond.c   ASSERT (pthread_join (thread, NULL) == 0);
thread            159 maint/gnulib/tests/test-pthread-cond.c   pthread_t thread;
thread            167 maint/gnulib/tests/test-pthread-cond.c   ASSERT (pthread_create (&thread, NULL, pthread_cond_timedwait_routine, NULL)
thread            183 maint/gnulib/tests/test-pthread-cond.c   ASSERT (pthread_join (thread, NULL) == 0);