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]

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, kalb at, bjorn.karlsson at, gregod at, wekempf at