From 5565248b456177101818986693310bf9f170c65b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Mon, 30 Sep 2013 21:01:45 +0000 Subject: [PATCH] Don't use EAGAIN as it's not used and requires missing cerrno [SVN r86089] --- include/boost/interprocess/detail/os_thread_functions.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }