[Boost Interprocess] - Shared Memory File - Can we specify the path to create
Hi, When creating a 'SharedMemory File', is there a way to specify the 'Path' where the file should be created? Right now, it is created by default in the Temp folder local machines. In case of a 'Citrix Machine' I am not able to figure out where this file is created? I'd like specify the path to create the 'shared memory' file so that it is the same irrespective of the user logged into the machine. Any help is appreciated. Thanks & Regards, Srinivas Gardas
Srinivas Gardas escribió:
Hi, When creating a 'SharedMemory File', is there a way to specify the 'Path' where the file should be created? Right now, it is created by default in the Temp folder local machines. In case of a 'Citrix Machine' I am not able to figure out where this file is created? I'd like specify the path to create the 'shared memory' file so that it is the same irrespective of the user logged into the machine.
Any help is appreciated.
Unfortunately there is no way to specify the path. That's an option I'm considering for the future, but it won't be soon in the library. The straightforward alternative is to use memory mapped files instead of shared memory (managed_mapped_file). In windows you won't have any performance impact since shared memory is being emulated with plain files. I don't know which are the implications of a "Citrix Machine", but I would like to know more about your application needs so that I can focus future Interprocess development.
Thanks & Regards, Srinivas Gardas
Regards, Ion
participants (2)
-
Ion Gaztañaga
-
Srinivas Gardas