Re: [linux-audio-dev] O_NONBLOCK in OSS

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] O_NONBLOCK in OSS
From: Paul Barton-Davis (pbd_AT_Op.Net)
Date: ti marras 16 1999 - 00:30:09 EST


> The real issue is that I cannot have the app block if the soundcard
>cannot be opened immediately. That's the point of the O_NONBLOCK flag.
>OSS shouldn't give it any more meaning than that.

thats not what O_NONBLOCK means. it means "do not block if read or
write cannot be satisfied without blocking". it has little or no
impact on the open(2) implementation for most drivers of any kind. by
using it, you are telling the driver to return zero if it has no space
available to put the data you are write(2)-ing or no data to return if
you are read(2)-ing. thats all.

--p


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : pe maalis 10 2000 - 07:23:25 EST