Boost logo

Boost Users :

Subject: Re: [Boost-users] memory mapped file thread safety
From: Brian Budge (brian.budge_at_[hidden])
Date: 2014-06-09 16:06:11


On Mon, Jun 9, 2014 at 12:48 PM, Aaron Boxer <boxerab_at_[hidden]> wrote:
> Simple question: If I call get_address() on a region, can I pass this
> pointer to another thread and have this thread access the memory ?
>
> Thanks!
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users

As long as you keep the region alive as long as the other thread needs
it and/or transfer ownership to the other thread.


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