mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-25 06:59:57 -05:00
Refactor the work queue
Make a separate work queue to track async operations. Keep separate work queues for links and nodes. This avoids lockups when some async operation take a long time and the work queue has SYNC_WAIT operations.
This commit is contained in:
parent
6d4db64767
commit
474981ddda
9 changed files with 344 additions and 238 deletions
|
|
@ -12,6 +12,7 @@ pinoscore_headers = [
|
|||
'node-factory.h',
|
||||
'port.h',
|
||||
'resource.h',
|
||||
'work-queue.h',
|
||||
]
|
||||
|
||||
pinoscore_sources = [
|
||||
|
|
@ -28,6 +29,7 @@ pinoscore_sources = [
|
|||
'node-factory.c',
|
||||
'port.c',
|
||||
'resource.c',
|
||||
'work-queue.c',
|
||||
]
|
||||
|
||||
libpinoscore_c_args = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue