summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMikhail Naganov <mnaganov@google.com>2016-07-08 13:26:19 -0700
committerMikhail Naganov <mnaganov@google.com>2016-07-13 13:50:17 -0700
commit382cb48848cb3968d5a0088a825706d66cdfbd50 (patch)
tree76895bd9da969804617f78dd06c03cfd7fd61c95 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent776f9dbb0d64d30e3689c3ea756cdae0b1a67006 (diff)
Protect MIDI framework against client blocks in MidiReceiver.onSend
Make the server-side socket non-blocking when creating MidiOutputPort for clients. Thus if a client ceases to read from its side of the socket pair, the server will just fail to write instead of blocking. One drawback is that the MidiOutputPort on the client can't indicate that it has become dysfunctional, but it's not possible without changing the API. Bug: 29413812 Change-Id: I9dfcbdd214a815cea8fd1365324fd78ca459268a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions