[haiku-commits] Re: haiku: hrev50043 - src/servers/media_addon

  • From: "Adrien Destugues" <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 21 Jan 2016 12:41:38 +0000

21 janvier 2016 13:38 "Dario Casalinuovo" <b.vitruvio@xxxxxxxxx> a écrit:


It was more explicit before, actually. Now you will happily run into an 
endless loop when an
unforeseen condition happens (like a B_NO_PERMISSION, for example). Please 
revert -- this code is
not acceptable.
I think you are referring to some future behavior, and I actually can't see 
why the loop should
exit on something different than the port close. The opposite situation may 
happen, what if an
error code which isn't fatal makes the loop to exit?

At least that is easily detected and debugged. I prefer that the thread stops, 
rather than going into an infinite loop (as the mail daemon currently does on 
my machine for similar reasons...)

-- 
Adrien.

Other related posts: