shared-memory
C++ shared memory leak, how to clear shared memory?
I am using Qt and trying to achieve a single instance application by applying this solution in Linux(ubuntu). The problem is that if the application unexpectedly finishes(seg. fault or user kills it)[详细]
2023-04-13 07:37 分类:问答Whats the Best Concurrent Thread Shared Memory Architecture Without Locking?
I have a 2d Array of memory. I have multiple threads reading and writing to single elements in the array spontaneously, arbitrarily, and concurrently.[详细]
2023-04-12 21:16 分类:问答details of MESI protocol for multicore processors
The details 开发者_开发技巧of the MESI protocol for multicore processors would be really important for me, but I can\'t find them anywhere. Even http://www.intel.com/content/dam/doc/manual/64-ia-32-ar[详细]
2023-04-12 15:17 分类:问答when using shared memory in unix
When you code a data supplier app in C 开发者_如何转开发for Unix that uses shared memory when do you detach the shared memory only when the server exits or when you are finished updating the shared me[详细]
2023-04-10 07:19 分类:问答GetFileSizeEx fails for file mapping
Im having trouble creating a named shared memory and inspecting its size. The function GetFileSizeEx fails when I call it in a function like this. Any ideas on how to debug this?[详细]
2023-04-09 16:46 分类:问答How and when are shared memory backing files removed in Linux?
I am using the combination of shm_open() and mmap() to create a shared memory segment for IPC. What I\'m wondering is how the backing files (in /dev/shm in my system, Linux kernel 2.6.31) are cleaned[详细]
2023-04-07 02:52 分类:问答How to read information from shared memory in Java?
Is it possible (and if yes - how) to read information from a Shared Memory on Widows system? I would lik开发者_Python百科e to get details from a Shared Memory block, created by Core Temp program, as[详细]
2023-04-07 00:35 分类:问答Reserving Shared Memory with No File Backing (Linux/Windows) (boost::interprocess)
How can I reserve and allocate shared memory without the backing of a file? I\'m trying to reserve a large (many tens of GiBs) chunk of shared memory and use it in multiple processes as a form of IPC.[详细]
2023-04-05 10:08 分类:问答shared memory size beyond sysconfig limit
can ftruncate be used to increase the size of shared memory block beyond the shared memory limit size given by sysconfig? How do I make it use swap in case physica开发者_Go百科l memory runs out?[详细]
2023-04-05 00:55 分类:问答C++ MMap a file to memory and then get a file descriptor to that memory
I saw this post: system call to map memory to a file descriptor (inverse mmap)? I would like a library that I have that wants a file descriptor in its interface to be able to be given a file descript[详细]
2023-04-04 20:33 分类:问答