Messages in this thread | | | Date | Tue, 23 Mar 1999 16:44:19 -0800 | From | Shane Wegner <> | Subject | Possible bug in 2.2.x sound code |
| |
Hi,
This is either a bug or the behavior of things have changed. If the programming interface has changed, could someone let me know how I can lock this thing properly.
It seems on Linux 2.0, only one process can have the dsp device open, with 2.2 however, it silently lets you open the device even if it's busy. It will block until the first process closes.
Example: Linux 2.0.36 viper:/dev$ cat >dsp0& [1] 11539 viper:/dev$ cat >dsp0& [2] 11540
[1]+ Stopped cat >dsp0 viper:/dev$ bash: dsp0: Device or resource busy fg 1 cat >dsp0
[2] Exit 1 cat >dsp0 viper:/dev$
Linux 2.2.3: continuum:/dev$ cat >dsp0& [1] 20643 continuum:/dev$ cat >dsp0& [2] 20644 continuum:/dev$ cat >dsp0& [3] 20645 continuum:/dev$
No error. It this right?
-- Shane Wegner: shane@cm.nu Tel: (604) 930-0530 Sysadmin, Continuum Systems: http://www.cm.nu Personal website: http://www.cm.nu/~shane ICQ UIN: 120000 PGP: keyid: 2048/F5C2BD91 Fingerprint: 8C 48 B9 D8 53 BB D8 EF 76 BB DB A2 1C 0D 1D 87 [unhandled content-type:application/pgp-signature] | |