diff --git a/include/boost/interprocess/detail/os_thread_functions.hpp b/include/boost/interprocess/detail/os_thread_functions.hpp index c634800..eea4957 100644 --- a/include/boost/interprocess/detail/os_thread_functions.hpp +++ b/include/boost/interprocess/detail/os_thread_functions.hpp @@ -491,7 +491,7 @@ inline int thread_create( OS_thread_t * thread, unsigned (__stdcall * start_rout return 0; } else{ - return EAGAIN; + return 1; } }