Memory that may be simultaneously accessed by multiple programs
3
votes
1answer
22 views
How to make shared memory for multiple batch files running simulteneously?
I am trying to run a tagger through batch file for different file to do so I am creating a
batch file
and running tagger through it.
and this is my code..
String runap1="cd spt1"+"\n"+"java ...
0
votes
0answers
14 views
Permission in shmget Linux
I've been searching about 0666 permission in shmget(). I know that 0666 permission will grant read & write permission on the shared memory segment.
But, how do I prove it have permission if I ...
0
votes
2answers
47 views
Best way to use shared memory that can be read directly by different processes without copy overhead
I have an application where the initialization involves reading very large data from files (~ > 10 GB) and then performing some computations on this data (which is of type Dictionary). The ...
1
vote
1answer
34 views
Shared memory secured write using semaphore
Below Server code which a string into shared memory variable.
Client code display the string available in shared memory.
FULL Code : available in this github link
Server.c
int main(int argc, char ...
0
votes
1answer
27 views
php shared memory cross browser
For example , I open 01.php in firefox , open 02.php in google chrome ,
01.php create a shared memory segment , now I 01.php write a msg to this shared memory segment ,
and I want 02.php to access ...
0
votes
0answers
15 views
Is it possible for locked, shared memory to move in address space?
Lets say I create a shared memory segment using shmget and then lock it using shmctl with the SHM_LOCK flag. The lock flag ensures that the segment will not be moved to swap, but does it guarantee ...
2
votes
1answer
18 views
Share SciPy Sparse Array Between Process Objects
I've recently been learning Python multiprocessing, and have run into a roadblock. I have a lerge sparse SciPy array (CSC-format), that I need to share in read only format between 5 worker-processes. ...
0
votes
2answers
81 views
STL structure inside Shared Memory
I need to create a queue like structure inside my structure which I use as shared memory. How can I do this ? My compiler is Visual C++.
3
votes
1answer
30 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
1answer
23 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
34 views
message brokers or other messaging solutions with both shared memory and network access [closed]
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
18 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
10 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
11 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
67 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 ...