threads 403 src/libsir/include/sir/types.h sir_thread* threads; /**< A list of thread handles. */ threads 53 src/libsir/src/sirthreadpool.c (*pool)->threads = calloc(num_threads, sizeof(sir_thread)); threads 54 src/libsir/src/sirthreadpool.c if (!(*pool)->threads) { threads 83 src/libsir/src/sirthreadpool.c op = pthread_create(&(*pool)->threads[n], &attr, &thread_pool_proc, *pool); threads 85 src/libsir/src/sirthreadpool.c (*pool)->threads[n] = 0; threads 91 src/libsir/src/sirthreadpool.c (*pool)->threads[n] = (HANDLE)_beginthreadex(NULL, 0, &thread_pool_proc, threads 93 src/libsir/src/sirthreadpool.c if (!(*pool)->threads[n]) { threads 156 src/libsir/src/sirthreadpool.c SIR_ASSERT(0 != (*pool)->threads[n]); threads 157 src/libsir/src/sirthreadpool.c if (0 == (*pool)->threads[n]) threads 161 src/libsir/src/sirthreadpool.c int join = pthread_join((*pool)->threads[n], NULL); threads 165 src/libsir/src/sirthreadpool.c DWORD join = WaitForSingleObject((*pool)->threads[n], INFINITE); threads 180 src/libsir/src/sirthreadpool.c _sir_safefree(&(*pool)->threads);