summaryrefslogtreecommitdiff
path: root/boost/fiber/detail/futex.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fiber/detail/futex.hpp')
-rw-r--r--boost/fiber/detail/futex.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/fiber/detail/futex.hpp b/boost/fiber/detail/futex.hpp
index 4c966867c5..d383dc4077 100644
--- a/boost/fiber/detail/futex.hpp
+++ b/boost/fiber/detail/futex.hpp
@@ -49,7 +49,7 @@ int futex_wake( std::atomic< std::int32_t > * addr) {
inline
int futex_wait( std::atomic< std::int32_t > * addr, std::int32_t x) {
- ::WaitOnAddress( static_cast< volatile void * >( addr), & x, sizeof( x), -1);
+ ::WaitOnAddress( static_cast< volatile void * >( addr), & x, sizeof( x), INFINITE);
return 0;
}
#else