19 May
2009
19 May
'09
4:08 p.m.
Moorthi wrote:
I am using boost::interprocess::managed_shared_memory to share the data between processes. But the shared memory internally creates memory mapped file in C: dirve. if anyone knows how to change the configuration to use some other drive instead of C: as my production environment doesnt have much space in C: drive.
Change the temporary directory of the windows user or change the code here: boost/interprocess/detail/tmp_dir_helpers.hpp inline void tmp_filename(const char *filename, std::string &tmp_name) { const char *tmp_dir = get_temporary_path(); //<---- HERE Best, Ion