shared-memory
Windows: Resize shared memory
When I create a shared memory segment on Windows (like CreateFileMapping(INVALID_HANDLE_VALUE, ...)), is there any way to resize it, other t开发者_JAVA百科han creating a bigger segment and copying the[详细]
2023-03-11 14:43 分类:问答boost::interprocess::shared_memory_object::remove fails
I made some test and I was able to create and remove boost::interprocess::shared_memory_object in a C++/CLI executable without problems. In a C++/CLI dll plugin I\'m only able to create the boost::int[详细]
2023-03-11 01:27 分类:问答MPI Error: Out of Memory - What are some solution options
I am trying to resolve Fatal Error in MPI_Irecv: Aborting Job and received mixed (useful, however incomplete) responses to that query.[详细]
2023-03-11 01:26 分类:问答Python fork(): passing data from child to parent
I have a main Python process, and a bunch or workers created by the main process using os.fork(). I need to pass large and fairly involved data structures from the workers back to the main process. W[详细]
2023-03-10 17:18 分类:问答Is opening a shared memory multiple times bad in any way?
I have a class which opens a posix shared memory using shm_open. Now I have to create objects of this class multiple times (5-10 objects total), and that means the same shared memory is going to be op[详细]
2023-03-09 18:00 分类:问答Does accessing shared memory simultaneously cause a performance hit?
I have a simple multi-threaded app for my multi-core system.This app has a parallel region in which no threads write to a given memory address, but some may开发者_JS百科 read simultaneously.[详细]
2023-03-09 04:33 分类:问答problem with shared memory
Tried to create shared memory block, and what I got is strange behaviour. #include <sys/shm.h> #include \"stdio.h\"[详细]
2023-03-08 15:19 分类:问答How can we share the data using shared memory segment with "Object" between two managed processes?
How can I share the data between two managed processes using shared memory segments? I am using \"object\" inside C++/CLI code to share the data with some other part of memory in the other process. I[详细]
2023-03-08 02:27 分类:问答Callback throwing a segfault from within a shared object
As I understand it, when my .so is loaded using dlopen, the shared object is mapped into the address space of the calling process. I can call functions and access globals of the .so without error. How[详细]
2023-03-07 12:58 分类:问答Loading same instance of a dll in multiple process
Lib1[dll] { class A { static int i=0; } } Program1[exe] have reference to Lib1 { Class B { main() { A.i = 5; } } }[详细]
2023-03-05 13:40 分类:问答