Skip to contentSkip to conversation

sequencer thread safe?

DISCUSSION Rob Buse 2 participants 2 messages Mar 9, 2005

lore
Share & tools
lore

Rob Buse

author
#0 lore raw

hey everyone.

I was just wondering if the sequencer api is thread safe? I have a segfault when calling snd_seq_drain_output(). I just updated to 1.0.8 and its popping up just now. It seems I have two threads that are hitting it at the same time. I was wondering why I never saw this behavior in the older library.

cheers,
rob

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click

#1 lore raw
Quoted 1 line · Rob Buse

I was just wondering if the sequencer api is thread safe?

The ALSA library is not thread safe.

Quoted 2 lines

I was wondering why I never saw this behavior in the older library.

The haven't been any relevant changes.

Regards,
Clemens

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click