Closed ghost closed 9 years ago
But output manager and each intermediate plugin has it's own conf
structure. And each acces to conf->new_in
is protected by mutex and conditional variable (lines 109 - 119 in intermediate_process.c
and 156 - 166 in output_manager.c
). Checking conf->new_in
is only done after reading NULL message and NULL message is send after setting new input queue.
In addition to these fixes, I'd like to ask you to take a look at the following code fragments:
intermediate_process.c
: 78-84output_manager.c
: 276-282Both code fragments access
conf->new_in
and I wonder whether there's no need for lockingintermediate.in_q_mutex
andoutput_manager_config.in_q_mutex
, respectively.