| commit | b3247ba5244d95e0d2c850a3fa1f69668a5790f5 | [log] [tgz] |
|---|---|---|
| author | Dmitry Neverov <dmitry.neverov@gmail.com> | Wed May 19 11:39:17 2010 -0700 |
| committer | Shawn O. Pearce <spearce@spearce.org> | Wed May 19 11:40:33 2010 -0700 |
| tree | 0c39737b590f27e4594e736ec00b3600203fef2b | |
| parent | ae972e774e2eb8c72585ad3d4e02687a5c2df66f [diff] |
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: Shawn O. Pearce <spearce@spearce.org>