node: keep separate array of links

Keep a separate array with the links that we only access and update from
the data-thread.
This commit is contained in:
Wim Taymans 2016-10-24 18:01:04 +02:00
parent d3dd90bb05
commit 73e6272488
4 changed files with 121 additions and 28 deletions

View file

@ -260,7 +260,7 @@ do_start (SpaPoll *poll,
ac.res = res;
spa_poll_invoke (this->state[0].main_loop,
do_send_event,
seq,
SPA_ID_INVALID,
sizeof (ac),
&ac,
this);
@ -289,7 +289,7 @@ do_pause (SpaPoll *poll,
ac.res = res;
spa_poll_invoke (this->state[0].main_loop,
do_send_event,
seq,
SPA_ID_INVALID,
sizeof (ac),
&ac,
this);