summaryrefslogtreecommitdiff
path: root/source/api_wrappers/windows/WinApiWrappers.h
diff options
context:
space:
mode:
authorxmarvla <vlatko.markovic@seavus.com>2011-12-26 11:39:55 +0100
committerViktor Mladenovski <viktor.mladenovski@seavus.com>2012-05-25 14:40:23 +0200
commitf2be658909048b1050bf66c14324cccce852a931 (patch)
tree6d706961731e8dd2864581491ae4ca8fc6574359 /source/api_wrappers/windows/WinApiWrappers.h
parent7500cbd59a6faa7dd69b278d7a02da2c8fa96060 (diff)
Flash tool cli cannot work with network path
Resolve problems in error handling for process file command when path to non-existing file is given as input paramter to LCDriver. Fix AStyle code formatting. ST-Ericsson ID: 402761 ST-Ericsson FOSS-OUT ID: NA Change-Id: Ia6539a7ebab97a078bc0d105b23b6a0545762194 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43810 Reviewed-by: QABUILD Tested-by: Aleksandar GASOSKI <aleksandar.gasoski@seavus.com> Reviewed-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com> Tested-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com>
Diffstat (limited to 'source/api_wrappers/windows/WinApiWrappers.h')
-rw-r--r--source/api_wrappers/windows/WinApiWrappers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/api_wrappers/windows/WinApiWrappers.h b/source/api_wrappers/windows/WinApiWrappers.h
index 65fca8b..f3fbfa1 100644
--- a/source/api_wrappers/windows/WinApiWrappers.h
+++ b/source/api_wrappers/windows/WinApiWrappers.h
@@ -240,13 +240,16 @@ public:
switch (::WaitForMultipleObjects(2, m_Handles, FALSE, mSecTimeout)) {
case WAIT_OBJECT_0 + 0:
return REMOVE_CANCEL;
+
case WAIT_OBJECT_0 + 1: {
CLockCS LocalCSLock(m_CSLock);
*ppObject = RemoveFromQueueHead(); // Remove pObject from pObjectQueue head
return REMOVE_SUCCESS;
}
+
case WAIT_TIMEOUT:
return REMOVE_TIMEOUT;
+
default:
assert(false);
return REMOVE_CANCEL;