Memory that may be simultaneously accessed by multiple programs
0
votes
0answers
3 views
Dequeue iterator is not derefrencable
my basic visual c++ program opens a shared memory which has a queue of void pointer. Then I create 5 integers dynamically and put their addresses to queue. After each insert I print the size of queue ...
2
votes
0answers
9 views
MATLAB PARFOR: memory management: shared memory or not?
I don't understand how parfor cicle in Matlab parallel computing toolbox works with the memory: I read it share the memory between all workers (then I think every worker (core) can access the memory ...
0
votes
0answers
14 views
Shared memory between IIS8 ASP.NET *.ashx and user application
The Goal
Get an unmanaged user application (server) to communicate through .NET MemoryMappedFile objects to multiple web clients via a custom websocket *.ASHX.
The Story So Far...
An legacy ...
0
votes
1answer
18 views
boost shared_memory deque container containing custom class
I am trying to have two processes access the same shared memory. I have process1 creating a deque with my_custom_class*. my_custom_class contains some integers.
typedef ...
-4
votes
0answers
32 views
message brokers or other messaging solutions with both shared memory and network access [on hold]
Are there any open solutions available that provide both network and shared memory access for messaging? For example, if client is trying to access the queue is within local memory use shared memory, ...
1
vote
1answer
15 views
Can't share variable between threads with websockify
I have been fighting with Websockify the last days trying to make it work. There is no apparent documentation so I end up doing things with trial & error.
I have a server which runs on two ...
0
votes
0answers
9 views
How different processes can do modification on shared array
In below pseudocode, can the increased value be seen by other processes or not? I am not sure which of the below scenarios is correct!
1.I know that each process has its own process address space ...
0
votes
0answers
8 views
SHM replacement based on ASHMEM
I'm working on a library port from *nix to Android, and the library uses shared memory (shm). Android does not have System V shm. Instead it uses ashmem.
Is anyone aware of a shim library to map shm ...
1
vote
2answers
54 views
how does linux kernel implement shared memory between 2 processes
How does the Linux kernel implement the shared memory mechanism between different processes?
To elaborate further, each process has its own address space. For example, an address of 0x1000 in Process ...
0
votes
1answer
20 views
Is shared memory model a process violation?
Two processes trying to access a memory(shared region of RAM for IPC) outside of either of the processes(or both), is it a process violation ?
0
votes
1answer
41 views
How to ensure repeatability of results in multi-process computation
I have multiple MPI processes running in parallel all these processes access a shared memory and performs following operations :
sem_wait(sem);
shmid = shmget(key, sizeof(int), 0777)) < 0) ...
0
votes
1answer
78 views
Shared Memory in cuda fortran not working as expected
I am building a cuda fortran and a strange behavior occurs. I don't really understand why my code runs like this and would appreciate your help.
It seems that the value 0 is never assigned and even ...
0
votes
1answer
45 views
How do I appropriately size and launch a CUDA grid?
First question:
Suppose I need to launch a kernel with 229080 threads on a Tesla C1060 which has compute capability 1.3.
So according to the documentation this machine has 240 cores with 8 cores on ...
0
votes
0answers
8 views
start programe with callgrind,allocate shared memory failed
Size is configurable.
When starting normally,it's ok whatever the size is.
When starting with callgrind,it fails when size is big.
Is there any parameter about shared memory in callgrind?
Thank ...
0
votes
0answers
51 views
IPC over shared memory segment - memcpy visibility
I have shared memory communication written in C.
The following structure stands in the very beginning of the allocated segment.
typedef struct {
int closedCount;
int shmId;
int semId;
...