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.c171 int cpumasksize; in uv_thread_setaffinity() local
173 cpumasksize = uv_cpumask_size(); in uv_thread_setaffinity()
174 assert(cpumasksize > 0); in uv_thread_setaffinity()
175 if (mask_size < (size_t)cpumasksize) in uv_thread_setaffinity()
183 for (i = 0; i < cpumasksize; i++) { in uv_thread_setaffinity()
197 for (i = 0; i < cpumasksize; i++) in uv_thread_setaffinity()
212 int cpumasksize; in uv_thread_getaffinity() local
214 cpumasksize = uv_cpumask_size(); in uv_thread_getaffinity()
215 assert(cpumasksize > 0); in uv_thread_getaffinity()
216 if (mask_size < (size_t)cpumasksize) in uv_thread_getaffinity()
[all …]
/libuv/src/unix/
H A Dthread.c189 int cpumasksize; in uv_thread_setaffinity() local
191 cpumasksize = uv_cpumask_size(); in uv_thread_setaffinity()
192 if (cpumasksize < 0) in uv_thread_setaffinity()
193 return cpumasksize; in uv_thread_setaffinity()
194 if (mask_size < (size_t)cpumasksize) in uv_thread_setaffinity()
204 for (i = 0; i < cpumasksize; i++) in uv_thread_setaffinity()
227 int cpumasksize; in uv_thread_getaffinity() local
229 cpumasksize = uv_cpumask_size(); in uv_thread_getaffinity()
230 if (cpumasksize < 0) in uv_thread_getaffinity()
231 return cpumasksize; in uv_thread_getaffinity()
[all …]

Completed in 11 milliseconds