cvs commit: src/sys/dev/sound/pcm channel.c dsp.c dsp.h mixer.c sound.c sound.h vchan.c
Simon 'corecode' Schubert
corecode at fs.ei.tum.de
Thu Jun 14 23:34:33 PDT 2007
Matthew Dillon wrote:
:We should think if we can switch our locking to use lockmgr locks, becaus=
:e uaudio is taking some code paths which block and thus panic when using =
Hmm. I think we will have to use the serializer, actually, and
not a lockmgr lock, because a lot of that code runs from an
interrupt thread and we really do not want to block interrupt
threads. i.e. similar to what we do with NETIF.
Problem is that there is some fine grained locking going on (mixer, channel, device) which can't be easily covered by a serializer which gets aquired on a interrupt. we might have to rewrite the locking.
Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\
Work - Mac +++ space for low â¬â¬â¬ NOW!1 +++ Campaign \ /
Party Enjoy Relax | http://dragonflybsd.org Against HTML \
Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
More information about the Commits