mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-17 07:00:03 -05:00
thread: add support for thread affinity
This commit is contained in:
parent
696cd8977a
commit
2d87310b60
2 changed files with 18 additions and 0 deletions
|
|
@ -117,6 +117,7 @@ static inline int spa_thread_utils_drop_rt(struct spa_thread_utils *o,
|
|||
|
||||
#define SPA_KEY_THREAD_NAME "thread.name" /* the thread name */
|
||||
#define SPA_KEY_THREAD_STACK_SIZE "thread.stack-size" /* the stack size of the thread */
|
||||
#define SPA_KEY_THREAD_AFFINITY "thread.affinity" /* array of CPUs for this thread */
|
||||
|
||||
/**
|
||||
* \}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue