NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/52196



The following reply was made to PR kern/52196; it has been noted by GNATS.

From: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/52196
Date: Thu, 27 Apr 2017 12:30:37 +0200

 On Thu, Apr 27, 2017 at 10:25:01AM +0000, Nathanial Sloss wrote:
 > The following reply was made to PR kern/52196; it has been noted by GNATS.
 > 
 > From: Nathanial Sloss <nat%netbsd.org@localhost>
 > To: gnats-bugs%netbsd.org@localhost
 > Cc: 
 > Subject: Re: kern/52196
 > Date: Thu, 27 Apr 2017 20:19:39 +1000
 > 
 >  I think it would return EWOULDBLOCK if the write was larger.
 
 But is that expected ? I would expect the write syscall to return
 immediately in all case when the fd is set to non-blocking I/O
 >  
 >  What I noticed with a kernel with the old audio code was that there was a 
 >  delay of a second or so before sound would start to play.
 >  
 >  I'm guessing that even with old audio it would take some time before returning 
 >  EWOULDBLOCK.
 
 or maybe it's just that the buffer has been filled with 1s of silence,
 and it has to drain ?
 
 -- 
 Manuel Bouyer <bouyer%antioche.eu.org@localhost>
      NetBSD: 26 ans d'experience feront toujours la difference
 --
 


Home | Main Index | Thread Index | Old Index