mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
thread: implement some properties
Make helper method to parse thread properties and add 2 new properties to control name and stack-size of the thread. Use properties when creating threads with the default utils. Use the default thread utils instead of pthread_create so that the properties are used.
This commit is contained in:
parent
5f7421b946
commit
0b96b87331
7 changed files with 93 additions and 46 deletions
|
|
@ -1290,6 +1290,8 @@ void pw_settings_clean(struct pw_context *context);
|
|||
|
||||
void pw_impl_module_schedule_destroy(struct pw_impl_module *module);
|
||||
|
||||
pthread_attr_t *pw_thread_fill_attr(const struct spa_dict *props, pthread_attr_t *attr);
|
||||
|
||||
/** \endcond */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue