[alsa-devel] Atomic operations not multi-thread aware

Clemens Ladisch clemens at ladisch.de
Mon Mar 30 09:27:34 CEST 2015


Joël Krähemann wrote:
> I can crash my application while modifying values of the LADSPA plugin
> assigned dial widget what uses atomic operations and a task engine ...

Atomic operations are thread-safe by definition.

However, plugin functions might not be.  The LADSPA spec does not say
anything about it, so I guess you have to serialize all accesses.

And what does this have to do with ALSA?


Regards,
Clemens


More information about the Alsa-devel mailing list