This shows you the differences between two versions of the page.
|
realtime:documentation:howto:tools:cpu-partitioning:sched_getsetaffinity [2017/07/17 16:06] anna-maria created |
realtime:documentation:howto:tools:cpu-partitioning:sched_getsetaffinity [2023/09/05 09:07] (current) costa.shul |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| <code c> | <code c> | ||
| - | int sched_setaffinity(pid_t pid, size_t cpusetsize, | + | int sched_setaffinity(pid_t pid, size_t cpusetsize, const cpu_set_t *mask); |
| - | const cpu_set_t *mask); | + | |
| - | int sched_getaffinity(pid_t pid, size_t cpusetsize, | + | int sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *mask); |
| - | cpu_set_t *mask); | + | |
| </code> | </code> | ||
| Line 19: | Line 17: | ||
| $ man sched_setaffinity | $ man sched_setaffinity | ||
| </code> | </code> | ||
| + | |||
| + | |||