Skip to content
Snippets Groups Projects
Commit b3247ba5 authored by Dmitry Neverov's avatar Dmitry Neverov Committed by Shawn O. Pearce
Browse files

Fix race condition in StreamCopyThread


If we get an interrupt during an IO operation (src.read or dst.write)
caused by the flush() method incrementing the flush counter, ensure
we restart the proper section of code.  Just ignore the interrupt
and continue running.

Bug: 313082
Change-Id: Ib2b37901af8141289bbac9807cacf42b4e2461bd
Signed-off-by: default avatarShawn O. Pearce <spearce@spearce.org>
parent ae972e77
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment