shared-memory
How can I store data in RAM memory using PHP?
Is th开发者_StackOverflowere a way to store small data in RAM memory using PHP so that I can have access to the data between different session instead of regenerating it. Something similar to memcache[详细]
2023-01-23 03:12 分类:问答Interaction of fork and user-space memory mapped in the kernel
Consider a Linux driver that uses get_user_pages (or get_page) to map pages from the calling process. The physical address of the pages are then passed to a hardware device. Both the process and the d[详细]
2023-01-22 16:22 分类:问答OpenMP and shared structures and pointers
I have a function which is passed two structures by reference.These structures are composed of dynamically allocated arrays.Now when I try to implement OpenMP I\'m getting a slowdown not a speedup.I\'[详细]
2023-01-22 15:43 分类:问答How can a thread function access variables of the parent thread
I read that threads share the memory address space of it\'s parent thread. If that is true , why can\'t a thread function access a local variable belonging to it\'s parent thread ?[详细]
2023-01-20 02:36 分类:问答Getting offset_ptr of object in shared memory
How can i access the offset_ptr of the object which is created in the shared memory? segment = new managed_shared_memory(create_only, \"MySharedMemory\", segmentSize);[详细]
2023-01-19 07:36 分类:问答Keeping persistent data in memory
I am about to develop a Windows service in C#. This service needs to keep track of events in the system, and write some data to files from time to time. These 开发者_开发知识库ongoing events form a ce[详细]
2023-01-16 21:33 分类:问答How can I ensure that a class has no virtual methods?
I have a class whose objects are used in shared memory. Therefore, I must be sure that they do not have virtual methods (which crash the progr开发者_Python百科am when called via vtable).[详细]
2023-01-15 22:42 分类:问答Is there any possible way to change a memory location to a shared memory in C?
In c you can do shmid = shmget(SHMEM_KEY, sizeof(int*) * n , SHEMEM_MODE | IPC_CREAT); int* shmem = shmat(shmid, N开发者_StackOverflow中文版ULL, 0);[详细]
2023-01-15 11:23 分类:问答Python: quickly loading 7 GB of text files into unicode strings
I have a large directory of text files--approximately 7 GB.I need to load them quickly into Python unicode strings in iPython.I have 15 GB of memory total.(I\'m using EC2, so I can buy more memory if[详细]
2023-01-15 10:46 分类:问答Whats the difference between the two command lines? (SegFault)
I have written a code that maps to a shared memory location,so that the first program opens a shared memory block and stores some data in it.And the second program reads the shared data.[详细]
2023-01-15 07:48 分类:问答