Boost logo

Boost Users :

Subject: Re: [Boost-users] Interprocess : multithreading of the mapping
From: Brian Budge (brian.budge_at_[hidden])
Date: 2013-08-27 12:58:56


On Tue, Aug 27, 2013 at 6:53 AM, Oodini <svdbg____at_[hidden]> wrote:
>> Hi. You will need to define what kinds of multithreaded tasks you
>> will have. Will you be reading, writing, or both?
>
> Only read !
>
> Sorry for having forgotten this crucial piece of info ! :)

As long as the file isn't being modified, it should be fine to both
(a) map it in different processes, and (b) access the data in the
mapped region from many threads in and and/or all processes.

  Brian


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