Source-Changes archive

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

re: CVS commit: src/sys/kern



   
   > simonb%NetBSD.org@localhost wrote:
   > 
   > > > splclock()/splx() unmatch?
   > > 
   > > Yes indeed.  I was a bit hasty commiting that.
   > > 
   > > Please commit your fix.
   > 
   > Some people would hate goto (though I think it's okay for "break" case).
   > Which is better?
   
   In general I don't like goto either, but really I think it's the
   cleanest way for dealing with these error cases.

i agree.  it's also very common in error recovery in our kernel and
only slightly less so in userland..


.mrg.



Home | Main Index | Thread Index | Old Index