table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
SND_PCM_STREAM_LOCK(9) | PCM API | SND_PCM_STREAM_LOCK(9) |
NAME¶
snd_pcm_stream_lock - Lock the PCM streamSYNOPSIS¶
void
snd_pcm_stream_lock(struct snd_pcm_substream * substream);
ARGUMENTS¶
substreamPCM substream
DESCRIPTION¶
This locks the PCM stream's spinlock or mutex depending on the nonatomic flag of the given substream. This also takes the global link rw lock (or rw sem), too, for avoiding the race with linked streams.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |