PipeWire: spa_thread_utils_methods Struct Reference

PipeWire 0.3.34

Data Fields
spa_thread_utils_methods Struct Reference
SPA Support Features

thread utils More...

## Data Fields
uint32_t | version
struct spa_thread *(* | create )(void *data, const struct spa_dict *props, void *(*start)(void *), void *arg)
| create a new thread that runs start with arg More...
int(* | join )(void *data, struct spa_thread *thread, void **retval)
| stop and join a thread More...
int(* | get_rt_range )(void *data, const struct spa_dict *props, int *min, int *max)
| get realtime priority range for threads created with props More...
int(* | acquire_rt )(void *data, struct spa_thread *thread, int priority)
| acquire realtime priority More...
int(* | drop_rt )(void *data, struct spa_thread *thread)
| drop realtime priority More...

## Detailed Description

thread utils

## Field Documentation

## ◆ acquire_rt

int(* spa_thread_utils_methods::acquire_rt) (void *data, struct spa_thread *thread, int priority)

acquire realtime priority

## ◆ create

struct spa_thread*(* spa_thread_utils_methods::create) (void *data, const struct spa_dict *props, void *(*start)(void *), void *arg)

create a new thread that runs start with arg

## ◆ drop_rt

int(* spa_thread_utils_methods::drop_rt) (void *data, struct spa_thread *thread)

drop realtime priority

## ◆ get_rt_range

int(* spa_thread_utils_methods::get_rt_range) (void *data, const struct spa_dict *props, int *min, int *max)

get realtime priority range for threads created with props

## ◆ join

int(* spa_thread_utils_methods::join) (void *data, struct spa_thread *thread, void **retval)

stop and join a thread

## ◆ version

uint32_t spa_thread_utils_methods::version

The documentation for this struct was generated from the following file:

- build/doc/spa/support/thread.h