[haiku-commits] Re: haiku: hrev50886 - in src: add-ons/media/media-add-ons/multi_audio kits/media/experimental

  • From: Dario Casalinuovo <b.vitruvio@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 20 Jan 2017 21:08:44 +0100

On Fri, Jan 20, 2017 at 9:04 PM, Julian Harnath <
julian.harnath@xxxxxxxxxxxxxx> wrote:

Hello,

On 20.01.2017 20:56, b.vitruvio@xxxxxxxxx wrote:

  * The fBufferFreeSem is removed as it didn't make sense. It was
  used to detected when the output thread should be stopped, a
  boolean flag is used instead.


Since the flag you added is not an atomic, this is essentially broken.


Why you want an atomic operation there?

Other related posts: