Boost logo

Boost Users :

Subject: Re: [Boost-users] [interprocess]files locations for mutex and named shm
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2008-09-17 15:08:15


Eugen Stoianovici wrote:
> Ion Gaztañaga wrote:
>> You can't, unless you modify the code in:
>>
>> boost/interprocess/detail/temp_dir_helper.hpp
>>
>> Why do you want to change the location of those files?
>>
>> Ion
> This is only a problem if you run processes with different users. Ex: if
> you're using shared memory between an user app and a service, the
> service will look for the segment in C:\Windows\Temp\ and the user app
> will look for it in C:\Documents and settings\user\local settings\etc.
> My changes should go in the temp_dir_helpers.hpp file, right?

Good point. I'll try to see if I can unify this when I have a bit of
time. Maybe we can find a common directory for all processes. Any hint
or suggestion?

> Thanks,
> Eugen Stoianovici

Regards,

Ion


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net