Boost logo

Boost Users :

Subject: Re: [Boost-users] [interprocess] Shared memory object
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2014-02-20 09:44:49

El 20/02/2014 11:42, Patrick Steele escribió:
> Hi,
> can anyone tell me if there is a performance or other difference between
> boost::interprocess::shared_memory_object and
> boost::interprocess::windows_shared_memory? With the version of boost we
> were using back in 2011 ( boost 1.48 ), we found that
> windows_shared_memory operated faster than shared_memory_object when
> transporting around 10MB of data. Is this still the case?
> Thanks,

Nothing has changed AFAIK. shared_memory_object is a memory mapped file
whereas windows_shared_memory is backed by the pagefile. I don't know
why Windows should make one faster than the other, though.



Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at