Boost logo

Boost :

From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2024-10-23 13:15:38


El 23/10/2024 a las 14:53, Murali Kishore via Boost escribió:
> Hi all,
>
> Is it possible to change the shared memory segment path from /dev/shm to
> other directory ex. /tmp/shm_file instead of /dev/shm/shm_file.
>
> Regards,
> Murali Kishore

Pure shared memory needs an special filesystem in POSIX systems, so no.

You can use mapped files to create shared memory that is backed by a
file in an arbitrary directory.

Best,

Ion


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk