[pulseaudio] RFC: synchronize access to shared variable
Omair Majid
omajid at redhat.com
Thu Jun 28 13:57:06 PDT 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pulse-java-synchronize-01.patch
Type: text/x-patch
Size: 786 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120628/37edecc2/pulse-java-synchronize-01.patch
More information about the distro-pkg-dev
mailing list