BmapCopy.py: handle exceptions from the reader thread
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Wed, 14 Nov 2012 09:59:38 +0000 (11:59 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 15 Nov 2012 14:17:56 +0000 (16:17 +0200)
commit9a02a73c84c5f9dbabaf75d7dd5e6810be8f50ec
tree4d77d7b38e68b108c4eed0b16ace75385aa1ab7f
parentbfe2dbe65c550a3c2cbbb81bc6ab0bff88ea762d
BmapCopy.py: handle exceptions from the reader thread

Use the batch queue to pass exceptions from the reader thread to the main
thread in case of errors, and raise the exceptions from the reader thread.

Change-Id: I02801278b76bb1b390b6e36372ee0d5b487e79c2
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
bmaptools/BmapCopy.py