Skip to contentSkip to conversation

libalsa w/o pthreads?

DISCUSSION Luuk van Dijk 2 participants 2 messages Nov 15, 2004

lore
Share & tools
lore
#0 lore raw

LS.

I am currently writing a driver for the ADI 1836 on the (ongoing) blackfin/uclinux port (blackfin.uclinux.org) and I have some questions (that I'll post in separate mails, so that they may be separate threads)

on this platform pthreads don't work (yet). is it possible to compile/use alsa-lib without them?

thanks,
Luuk

-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8

#1 lore raw
Quoted 2 lines · Luuk van Dijk

on this platform pthreads don't work (yet). is it possible to compile/use alsa-lib without them?

Not without some changes.

conf.c and hcontrol.c use just a mutex, so you can remove the pthread calls if there aren't any threads.

The meter and share plugins create their own threads, so I guess you have to disable them.

Best regards,
Clemens

-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8