diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:08:07 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:09:00 +0900 |
commit | b5c87084afaef42b2d058f68091be31988a6a874 (patch) | |
tree | adef9a65870a41181687e11d57fdf98e7629de3c /boost/fiber/detail/futex.hpp | |
parent | 34bd32e225e2a8a94104489b31c42e5801cc1f4a (diff) | |
download | boost-b5c87084afaef42b2d058f68091be31988a6a874.tar.gz boost-b5c87084afaef42b2d058f68091be31988a6a874.tar.bz2 boost-b5c87084afaef42b2d058f68091be31988a6a874.zip |
Imported Upstream version 1.64.0upstream/1.64.0
Change-Id: Id9212edd016dd55f21172c427aa7894d1d24148b
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/fiber/detail/futex.hpp')
-rw-r--r-- | boost/fiber/detail/futex.hpp | 2 |
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 |