-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am unable to connect to my local instance of SQL Server 2008 Express using SQL Server Management Studio.
I believe the problem is related to a change I made to the connection protocols. Before the error occurred, I had Shared Memory enabled and Named Pipes and TCP/IP disabled. I then enabled both…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm pulling my hair due to the following problem: I am following the example given in boost.interprocess documentation to instantiate a fixed-size ring buffer buffer class that I wrote in shared memory. The skeleton constructor for my class is:
template<typename ItemType, class Allocator >
SharedMemoryBuffer<ItemType…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I would like to find all shared memory segments used by a given process. I am especially interested in figuring out the shmid so i can use it in calls to shmctl().
On Solaris i would just read /proc/$PID/map to figure out that information (field pr_shmid).
The contents of that file are defined by…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am writing a simple wrapper around boost::interprocess's vector container to implement a ring buffer in shared memory (shm) for IPC. Assume that buf is an instance of RingBuffer created in shm. Now, in its ctor, buf itself allocates a private boost::interprocess::vector data member to store values…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
After Compute Capability 2.0 (Fermi) was released, I've wondered if there are any use cases left for shared memory. That is, when is it better to use shared memory than just let L1 perform its magic in the background?
Is shared memory simply there to let algorithms designed for CC < 2.0 run efficiently…
>>> More