thread: add support for thread affinity

This commit is contained in:
Wim Taymans 2024-04-18 17:45:35 +02:00
parent 696cd8977a
commit 2d87310b60
2 changed files with 18 additions and 0 deletions

View file

@ -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 */
/**
* \}