/libuv/test/ |
H A D | test-thread-equal.c | 25 uv_thread_t main_thread_id; 26 uv_thread_t subthreads[2]; 29 uv_thread_t *thread_id = arg; in check_thread() 30 uv_thread_t self_id = uv_thread_self(); in check_thread() 39 uv_thread_t threads[2]; in TEST_IMPL()
|
H A D | test-thread.c | 34 uv_thread_t thread_id; 42 uv_thread_t thread_id; 50 uv_thread_t thread_id; 147 uv_thread_t tid; in TEST_IMPL() 203 uv_thread_t threads[2]; in TEST_IMPL() 246 uv_thread_t thread; in TEST_IMPL() 253 uv_thread_t thread; in TEST_IMPL()
|
H A D | test-barrier.c | 50 uv_thread_t thread; in TEST_IMPL() 72 uv_thread_t thread; in TEST_IMPL() 94 uv_thread_t thread; in TEST_IMPL() 132 uv_thread_t threads[4]; in TEST_IMPL()
|
H A D | test-condvar.c | 129 uv_thread_t thread; in TEST_IMPL() 148 uv_thread_t thread; in TEST_IMPL() 193 uv_thread_t thread; in TEST_IMPL() 212 uv_thread_t thread; in TEST_IMPL()
|
H A D | test-process-title-threadsafe.c | 82 uv_thread_t setter_threads[4]; in TEST_IMPL() 83 uv_thread_t getter_thread; in TEST_IMPL()
|
H A D | test-semaphore.c | 51 uv_thread_t thread; in TEST_IMPL() 75 uv_thread_t thread; in TEST_IMPL()
|
H A D | test-thread-affinity.c | 33 uv_thread_t tid; in check_affinity() 57 uv_thread_t threads[3]; in TEST_IMPL()
|
H A D | benchmark-thread.c | 43 uv_thread_t tid; in BENCHMARK_IMPL()
|
H A D | test-async-null-cb.c | 29 static uv_thread_t thread;
|
H A D | test-embed.c | 49 uv_thread_t thread; in TEST_IMPL()
|
H A D | test-tcp-reuseport.c | 193 uv_thread_t thread_loop_id1; in TEST_IMPL() 194 uv_thread_t thread_loop_id2; in TEST_IMPL()
|
H A D | test-thread-priority.c | 55 uv_thread_t task_id; in TEST_IMPL()
|
H A D | test-signal-multiple-loops.c | 224 uv_thread_t loop_creating_threads[NUM_LOOP_CREATING_THREADS]; in TEST_IMPL() 225 uv_thread_t signal_handling_threads[NUM_SIGNAL_HANDLING_THREADS]; in TEST_IMPL()
|
H A D | test-eintr-handling.c | 66 uv_thread_t thread; in TEST_IMPL()
|
H A D | test-async.c | 27 static uv_thread_t thread;
|
H A D | test-udp-reuseport.c | 230 uv_thread_t thread_loop_id1; in TEST_IMPL() 231 uv_thread_t thread_loop_id2; in TEST_IMPL()
|
H A D | benchmark-async-pummel.c | 66 uv_thread_t* tids; in test_async_pummel()
|
/libuv/src/win/ |
H A D | thread.c | 56 STATIC_ASSERT(sizeof(uv_thread_t) <= sizeof(void*)); 71 uv_thread_t self; 92 int uv_thread_create(uv_thread_t *tid, void (*entry)(void *arg), void *arg) { in uv_thread_create() 98 int uv_thread_create_ex(uv_thread_t* tid, in uv_thread_create_ex() 161 int uv_thread_setaffinity(uv_thread_t* tid, in uv_thread_setaffinity() 204 int uv_thread_getaffinity(uv_thread_t* tid, in uv_thread_getaffinity() 237 uv_thread_t uv_thread_self(void) { in uv_thread_self() 238 uv_thread_t key; in uv_thread_self() 255 int uv_thread_join(uv_thread_t *tid) { in uv_thread_join() 267 int uv_thread_equal(const uv_thread_t* t1, const uv_thread_t* t2) { in uv_thread_equal()
|
/libuv/docs/code/thread-create/ |
H A D | main.c | 27 uv_thread_t hare_id; in main() 28 uv_thread_t tortoise_id; in main()
|
/libuv/src/unix/ |
H A D | thread.c | 123 int uv_thread_create(uv_thread_t *tid, void (*entry)(void *arg), void *arg) { in uv_thread_create() 129 int uv_thread_create_ex(uv_thread_t* tid, in uv_thread_create_ex() 182 int uv_thread_setaffinity(uv_thread_t* tid, in uv_thread_setaffinity() 221 int uv_thread_getaffinity(uv_thread_t* tid, in uv_thread_getaffinity() 252 int uv_thread_setaffinity(uv_thread_t* tid, in uv_thread_setaffinity() 260 int uv_thread_getaffinity(uv_thread_t* tid, in uv_thread_getaffinity() 281 uv_thread_t uv_thread_self(void) { in uv_thread_self() 285 int uv_thread_join(uv_thread_t *tid) { in uv_thread_join() 290 int uv_thread_equal(const uv_thread_t* t1, const uv_thread_t* t2) { in uv_thread_equal()
|
/libuv/docs/src/ |
H A D | threading.rst | 14 .. c:type:: uv_thread_t 77 .. c:function:: int uv_thread_create(uv_thread_t* tid, uv_thread_cb entry, void* arg) 81 .. c:function:: int uv_thread_create_ex(uv_thread_t* tid, const uv_thread_options_t* params, uv_thr… 91 .. c:function:: int uv_thread_setaffinity(uv_thread_t* tid, char* cpumask, char* oldmask, size_t ma… 109 .. c:function:: int uv_thread_getaffinity(uv_thread_t* tid, char* cpumask, size_t mask_size) 131 .. c:function:: uv_thread_t uv_thread_self(void) 132 .. c:function:: int uv_thread_join(uv_thread_t *tid) 133 .. c:function:: int uv_thread_equal(const uv_thread_t* t1, const uv_thread_t* t2) 135 .. c:function:: int uv_thread_setpriority(uv_thread_t tid, int priority) 143 .. c:function:: int uv_thread_getpriority(uv_thread_t tid, int* priority)
|
/libuv/include/uv/ |
H A D | darwin.h | 38 uv_thread_t cf_thread; \
|
/libuv/docs/code/locks/ |
H A D | main.c | 44 uv_thread_t threads[3]; in main()
|
/libuv/docs/code/signal/ |
H A D | main.c | 58 uv_thread_t thread1, thread2; in main()
|
/libuv/include/ |
H A D | uv.h | 1331 UV_EXTERN int uv_thread_getpriority(uv_thread_t tid, int* priority); 1332 UV_EXTERN int uv_thread_setpriority(uv_thread_t tid, int priority); 1872 UV_EXTERN int uv_thread_create(uv_thread_t* tid, uv_thread_cb entry, void* arg); 1887 UV_EXTERN int uv_thread_create_ex(uv_thread_t* tid, 1891 UV_EXTERN int uv_thread_setaffinity(uv_thread_t* tid, 1895 UV_EXTERN int uv_thread_getaffinity(uv_thread_t* tid, 1899 UV_EXTERN uv_thread_t uv_thread_self(void); 1900 UV_EXTERN int uv_thread_join(uv_thread_t *tid); 1901 UV_EXTERN int uv_thread_equal(const uv_thread_t* t1, const uv_thread_t* t2);
|