alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Atomic operations not multi-thread aware
@ 2015-03-29 14:52 Joël Krähemann
  2015-03-29 15:25 ` Joël Krähemann
  2015-03-30  7:27 ` Clemens Ladisch
  0 siblings, 2 replies; 3+ messages in thread
From: Joël Krähemann @ 2015-03-29 14:52 UTC (permalink / raw)
  To: alsa-devel

Hi, please take a a look at gsequencer.org especially at:

libags-audio
* http://gsequencer.org/api/ags/ags-AgsPort.html

gsequencer
 * http://gsequencer.org/api/ags/ags-AgsLineMember.html

I can crash my application while modifying values of the LADSPA plugin
assigned dial widget what uses atomic operations and a task engine ...

Where can me read about state of Atomic Operations of linux or glibc?
Me doing further investigation.

bests
Joël
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Atomic operations not multi-thread aware
  2015-03-29 14:52 Atomic operations not multi-thread aware Joël Krähemann
@ 2015-03-29 15:25 ` Joël Krähemann
  2015-03-30  7:27 ` Clemens Ladisch
  1 sibling, 0 replies; 3+ messages in thread
From: Joël Krähemann @ 2015-03-29 15:25 UTC (permalink / raw)
  To: alsa-devel

Hi, further informations:

http://linuxfromscratch.org
http://minos-one.org/downloads/minos-one_v1.3.iso - WARNING includes
bash bug! Note for best stability you have to dd the live DVD to
hard-disk drive.

linux kernel 3.14.25-rt22
gcc (GCC) 4.9.2

bests
Joël

On Sun, Mar 29, 2015 at 2:52 PM, Joël Krähemann <weedlight@gmail.com> wrote:
> Hi, please take a a look at gsequencer.org especially at:
>
> libags-audio
> * http://gsequencer.org/api/ags/ags-AgsPort.html
>
> gsequencer
>  * http://gsequencer.org/api/ags/ags-AgsLineMember.html
>
> I can crash my application while modifying values of the LADSPA plugin
> assigned dial widget what uses atomic operations and a task engine ...
>
> Where can me read about state of Atomic Operations of linux or glibc?
> Me doing further investigation.
>
> bests
> Joël
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Atomic operations not multi-thread aware
  2015-03-29 14:52 Atomic operations not multi-thread aware Joël Krähemann
  2015-03-29 15:25 ` Joël Krähemann
@ 2015-03-30  7:27 ` Clemens Ladisch
  1 sibling, 0 replies; 3+ messages in thread
From: Clemens Ladisch @ 2015-03-30  7:27 UTC (permalink / raw)
  To: Joël Krähemann, alsa-devel

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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-30  7:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-29 14:52 Atomic operations not multi-thread aware Joël Krähemann
2015-03-29 15:25 ` Joël Krähemann
2015-03-30  7:27 ` Clemens Ladisch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).