diff --git a/include/boost/interprocess/detail/workaround.hpp b/include/boost/interprocess/detail/workaround.hpp
index daf4455..e7efbe9 100644
|
a
|
b
|
|
| 23 | 23 | |
| 24 | 24 | #if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) |
| 25 | 25 | #define BOOST_INTERPROCESS_WINDOWS |
| 26 | | #define BOOST_INTERPROCESS_FORCE_GENERIC_EMULATION |
| | 26 | //#define BOOST_INTERPROCESS_FORCE_GENERIC_EMULATION |
| 27 | 27 | #define BOOST_INTERPROCESS_HAS_KERNEL_BOOTTIME |
| 28 | 28 | //Define this to connect with shared memory created with versions < 1.54 |
| 29 | 29 | //#define BOOST_INTERPROCESS_BOOTSTAMP_IS_LASTBOOTUPTIME |
diff --git a/include/boost/interprocess/sync/windows/winapi_wrapper_common.hpp b/include/boost/interprocess/sync/windows/winapi_wrapper_common.hpp
index 428a26e..0021132 100644
|
a
|
b
|
inline bool winapi_wrapper_try_wait_for_single_object(void *handle)
|
| 55 | 55 | else if(ret == winapi::wait_timeout){ |
| 56 | 56 | return false; |
| 57 | 57 | } |
| | 58 | else if(ret == winapi::wait_abandoned) |
| | 59 | { |
| | 60 | winapi::release_mutex(handle); |
| | 61 | throw interprocess_exception(owner_dead_error); |
| | 62 | } |
| 58 | 63 | else{ |
| 59 | 64 | error_info err = system_error_code(); |
| 60 | 65 | throw interprocess_exception(err); |
| … |
… |
inline bool winapi_wrapper_timed_wait_for_single_object(void *handle, const boos
|
| 82 | 87 | else if(ret == winapi::wait_timeout){ |
| 83 | 88 | return false; |
| 84 | 89 | } |
| | 90 | else if (ret == winapi::wait_abandoned) |
| | 91 | { |
| | 92 | winapi::release_mutex(handle); |
| | 93 | throw interprocess_exception(owner_dead_error); |
| | 94 | } |
| 85 | 95 | else{ |
| 86 | 96 | error_info err = system_error_code(); |
| 87 | 97 | throw interprocess_exception(err); |