At Mon, 16 Mar 2020 09:20:01 +0000, Nia Alarie wrote: > Committed By: nia > Date: Mon Mar 16 09:20:01 UTC 2020 > > Modified Files: > src/share/man/man4: audio.4 > > Log Message: > audio.4: O_NONBLOCK isn't the actual problem
> @@ -818,6 +818,8 @@ > .Xr mmap 2 > it is currently always mapped for writing (playing) due to VM system > weirdness. > .Sh CAVEATS >-The audio device cannot be reliably used with O_NONBLOCK or event notification >-mechanisms. Users are generally expected to only read and write a limited >number >-of samples at a time, limiting the time spent in the system call. >+The audio device cannot be reliably used with event notification mechanisms >+such as >+.Xr poll 2 . >+Most users are expected to only read and write a limited number of samples at >+a time, limiting the time spent in the system call. What problem of poll() are you talking about? --- Tetsuya Isaki <is...@pastel-flower.jp / is...@netbsd.org>