MCPcopy Create free account
hub / github.com/F-Stack/f-stack / cpuset_setthread

Function cpuset_setthread

freebsd/kern/kern_cpuset.c:1502–1507  ·  view source on GitHub ↗

* Apply an anonymous mask to a single thread. */

Source from the content-addressed store, hash-verified

1500 * Apply an anonymous mask to a single thread.
1501 */
1502int
1503cpuset_setthread(lwpid_t id, cpuset_t *mask)
1504{
1505
1506 return _cpuset_setthread(id, mask, NULL);
1507}
1508
1509/*
1510 * Apply new cpumask to the ithread.

Callers 6

kern_cpuset_setaffinityFunction · 0.85
ktls_initFunction · 0.85
_taskqueue_start_threadsFunction · 0.85
taskqgroup_binderFunction · 0.85

Calls 1

_cpuset_setthreadFunction · 0.85

Tested by

no test coverage detected