[pulseaudio] RFC: synchronize access to shared variable

Andrew Hughes ahughes at redhat.com
Thu Jun 28 16:21:28 PDT 2012


----- Original Message -----
> Hi,
> 
> The variable "writeInterrupted" is accessed everywhere while holding
> a
> lock on "this", except for one place in
> PulseAudioSourceDataLine.write(). The attached patch fixes this. Okay
> to
> commit?
> 
> I suspect this may be the cause of RH681074 [1].
> 
> ChangeLog:
> 
> 2012-06-28  Omair Majid  <omajid at redhat.com>
> 
>   *
> pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioSourceDataLine.java
>   (write): Synchronize access to writeInterrupted flag.
> 
> Thanks,
> Omair
> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=681074
> 

Fine.  Good catch.
-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07




More information about the distro-pkg-dev mailing list