summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2016-05-03 14:40:10 -0700
committerChristopher Tate <ctate@google.com>2016-05-04 17:52:19 -0700
commit35c2827c60fc8b77f97ce4d253873ff14c939581 (patch)
treeeebbc7976b6ff6d4d1164a50a82f413931698780 /rs/java/android/renderscript/Program.java
parent4569e9515c651616f7e24f563b52de98fb4bf258 (diff)
Ensure that the stream feeder doesn't hang in write...
...if the restoring data engine thread winds up operations. By closing the engine side of the pipe unconditionally when exiting the thread, the unanticipated-failure path is now guaranteed (instead of blocking forever in write() to a pipe that isn't being read!). In addition, wire agent-timeout handling into the various stream data-handling operations (preflight, backup, restore). This were not sufficiently robust and were in some situations leaving the backup/restore mechanisms in a livelock state. Finally, plug a longstanding problem in which we'd have orphaned timeout messages coming in and producing a certain amount of "wtf?" logging and wasted CPU. No longer! Bug 28457158 Change-Id: I597c76c3eada378ffeb20870253847594f73e089
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions