$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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://listarchives.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.