Home
last modified time | relevance | path

Searched refs:cpumasksize (Results 1 – 3 of 3) sorted by relevance

/libuv/test/
H A Dtest-thread-affinity.c32 int cpumasksize; in check_affinity() local
36 cpumasksize = uv_cpumask_size(); in check_affinity()
37 ASSERT_GT(cpumasksize, 0); in check_affinity()
41 r = uv_thread_setaffinity(&tid, cpumask + cpumasksize, cpumask, cpumasksize); in check_affinity()
51 int cpumasksize; in TEST_IMPL() local
66 ASSERT_GT(cpumasksize, 0); in TEST_IMPL()
78 t1first = cpumasksize * 0; in TEST_IMPL()
79 t1second = cpumasksize * 1; in TEST_IMPL()
80 t2first = cpumasksize * 2; in TEST_IMPL()
81 t2second = cpumasksize * 3; in TEST_IMPL()
[all …]
/libuv/src/win/
H A Dthread.c180 int cpumasksize; in uv_thread_setaffinity() local
182 cpumasksize = uv_cpumask_size(); in uv_thread_setaffinity()
183 assert(cpumasksize > 0); in uv_thread_setaffinity()
184 if (mask_size < (size_t)cpumasksize) in uv_thread_setaffinity()
192 for (i = 0; i < cpumasksize; i++) { in uv_thread_setaffinity()
206 for (i = 0; i < cpumasksize; i++) in uv_thread_setaffinity()
221 int cpumasksize; in uv_thread_getaffinity() local
223 cpumasksize = uv_cpumask_size(); in uv_thread_getaffinity()
224 assert(cpumasksize > 0); in uv_thread_getaffinity()
225 if (mask_size < (size_t)cpumasksize) in uv_thread_getaffinity()
[all …]
/libuv/src/unix/
H A Dthread.c198 int cpumasksize; in uv_thread_setaffinity() local
200 cpumasksize = uv_cpumask_size(); in uv_thread_setaffinity()
201 if (cpumasksize < 0) in uv_thread_setaffinity()
202 return cpumasksize; in uv_thread_setaffinity()
203 if (mask_size < (size_t)cpumasksize) in uv_thread_setaffinity()
213 for (i = 0; i < cpumasksize; i++) in uv_thread_setaffinity()
236 int cpumasksize; in uv_thread_getaffinity() local
238 cpumasksize = uv_cpumask_size(); in uv_thread_getaffinity()
239 if (cpumasksize < 0) in uv_thread_getaffinity()
240 return cpumasksize; in uv_thread_getaffinity()
[all …]

Completed in 14 milliseconds