https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289441
Damjan Jovanovic <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #263719|text/x-csrc |text/plain mime type| | --- Comment #3 from Damjan Jovanovic <[email protected]> --- Created attachment 263719 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=263719&action=edit Testcase A simple test application that will open /dev/dsp with O_NONBLOCK and write() one big buffer with 10 seconds of silent audio: cc oss-open-nonblocking.c -o oss-open-nonblocking -lm ./oss-open-nonblocking On both FreeBSD 14.3 and the latest main, it blocks for 10 seconds and prints this out before exiting: wrote 960000 bytes (480000 samples) With either of my patches, it exits almost immediately, with this output: wrote 4096 bytes (2048 samples) -- You are receiving this mail because: You are the assignee for the bug.
