[Interprocess] WIN32 define case unaccessible ?

Hello,
I'm using Boost.Interprocess in order to get a single portable source
code between Windows and Linux using Mutexes and Shared Memory.
Documentation says that, for Windows, the API default behaviour is
emulation with mapped files, which is the case (:D). Though, having a
look at interprocess' headers, i encountrered this case :
from D:\Libraries\boost\boost_1_51\boost\interprocess\sync\named_mutex.hpp :
____________________________________________________________________________
#if defined(BOOST_INTERPROCESS_NAMED_MUTEX_USES_POSIX_SEMAPHORES)
#include

El 09/02/2013 18:07, Antoine Pédron escribió: ____________________________________________________________________________
#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) #define BOOST_INTERPROCESS_WINDOWS #define BOOST_INTERPROCESS_FORCE_GENERIC_EMULATION #define BOOST_INTERPROCESS_HAS_KERNEL_BOOTTIME ____________________________________________________________________________
and i can't see an #undef anywhere to get into the case i want.
You can't because it's highly experimental and not supported right now. If you want to test it, you'll need to modify this header commenting out #define BOOST_INTERPROCESS_FORCE_GENERIC_EMULATION Best, Ion
participants (2)
-
Antoine Pédron
-
Ion Gaztañaga