Home
last modified time | relevance | path

Searched refs:uv_thread_t (Results 1 – 25 of 40) sorted by relevance

12

/libuv/test/
H A Dtest-thread-equal.c25 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 Dtest-thread.c34 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 Dtest-barrier.c50 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 Dtest-condvar.c129 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 Dtest-process-title-threadsafe.c82 uv_thread_t setter_threads[4]; in TEST_IMPL()
83 uv_thread_t getter_thread; in TEST_IMPL()
H A Dtest-semaphore.c51 uv_thread_t thread; in TEST_IMPL()
75 uv_thread_t thread; in TEST_IMPL()
H A Dtest-thread-affinity.c33 uv_thread_t tid; in check_affinity()
57 uv_thread_t threads[3]; in TEST_IMPL()
H A Dbenchmark-thread.c43 uv_thread_t tid; in BENCHMARK_IMPL()
H A Dtest-async-null-cb.c29 static uv_thread_t thread;
H A Dtest-embed.c49 uv_thread_t thread; in TEST_IMPL()
H A Dtest-tcp-reuseport.c193 uv_thread_t thread_loop_id1; in TEST_IMPL()
194 uv_thread_t thread_loop_id2; in TEST_IMPL()
H A Dtest-thread-priority.c55 uv_thread_t task_id; in TEST_IMPL()
H A Dtest-signal-multiple-loops.c224 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 Dtest-eintr-handling.c66 uv_thread_t thread; in TEST_IMPL()
H A Dtest-async.c27 static uv_thread_t thread;
H A Dtest-udp-reuseport.c230 uv_thread_t thread_loop_id1; in TEST_IMPL()
231 uv_thread_t thread_loop_id2; in TEST_IMPL()
H A Dbenchmark-async-pummel.c66 uv_thread_t* tids; in test_async_pummel()
/libuv/src/win/
H A Dthread.c56 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 Dmain.c27 uv_thread_t hare_id; in main()
28 uv_thread_t tortoise_id; in main()
/libuv/src/unix/
H A Dthread.c123 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 Dthreading.rst14 .. 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 Ddarwin.h38 uv_thread_t cf_thread; \
/libuv/docs/code/locks/
H A Dmain.c44 uv_thread_t threads[3]; in main()
/libuv/docs/code/signal/
H A Dmain.c58 uv_thread_t thread1, thread2; in main()
/libuv/include/
H A Duv.h1331 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);

Completed in 36 milliseconds

12