Return value of bool boost::interprocess::shared_memory_object::remove(const char * name)
Hello,
It seems to me that the static function bool remove(const char * name)
in class boost::interprocess::shared_memory_object returns false when it
should return true and vice versa.
The documentation on boost interprocess says:
"The remove operation might fail returning false if the shared memory
does not exist, the file is open or the file is still memory mapped by
other processes"
However, the following simple test program for example prints "should
not print" on Windows XP 64. I'm compiling with MSVC 2008 and using
boost 1.41.0.
/* Test program */
#include
El 06/01/2010 4:23, Jarno escribió:
Hello,
It seems to me that the static function bool remove(const char * name) in class boost::interprocess::shared_memory_object returns false when it should return true and vice versa.
I think it's a bug. Thanks for reporting it. Best, Ion
participants (2)
-
Ion Gaztañaga
-
Jarno