Fix a glitch in my last commit and revert to using selwakeuppri
Noticed by: tanimura Noticed by: truckman
This commit is contained in:
parent
f2c24e9bc6
commit
6562bf3d42
@ -121,7 +121,7 @@ chn_wakeup(struct pcm_channel *c)
|
||||
CHN_LOCKASSERT(c);
|
||||
if (SLIST_EMPTY(&c->children)) {
|
||||
if (SEL_WAITING(sndbuf_getsel(bs)) && chn_polltrigger(c))
|
||||
selwakeup(sndbuf_getsel(bs));
|
||||
selwakeuppri(sndbuf_getsel(bs), PRIBIO);
|
||||
} else {
|
||||
SLIST_FOREACH(pce, &c->children, link) {
|
||||
CHN_LOCK(pce->channel);
|
||||
|
Loading…
Reference in New Issue
Block a user