Skip to main content
0 votes
0 answers
83 views

Currently transferring a Python 3.12 program from local to a container environment, while it runs and completes its task locally it crashes on Docker in the early stages of the run. /home/app/.../....
souLLe's user avatar
  • 1
3 votes
1 answer
75 views

Suppose I create a shared memory object: from multiprocessing import shared_memory shm_a = shared_memory.SharedMemory(create=True, size=1024) buffer = shm_a.buf and put a generic object of a generic ...
Geremia's user avatar
  • 5,842
1 vote
1 answer
90 views

I have a service that execute some bash scripts based on external events, in this scripts I call php cli to execute some php code running with account "A". I have a web site that needs some ...
Luis Backup's user avatar
2 votes
2 answers
89 views

I can succesfully create numpy arrays with simple dtypes (int32 etc). But when i try to use something like : b_shared_memory = shared_memory.SharedMemory(create=True, name = "test235", size =...
Janso's user avatar
  • 21
0 votes
1 answer
183 views

I am trying to share memory between two Vulkan processes (using the same NVidia gpu device) using the VK_KHR_external memory extension on Linux (Ubuntu 22). I create a buffer/device memory (and ...
pettersson's user avatar
0 votes
1 answer
178 views

I experience problems with SharedMemory() in Python 3.12.0, it is not properly released. I use below context manager to handle share memory segments: @contextmanager def managed_shm(name=None, size=0, ...
Jacek Błocki's user avatar
2 votes
1 answer
104 views

I want to create a red-black tree that it is shared among different forked processes. Linking to an old question of mine old_question there cannot be resizable data structures in the shared memory (...
ALEXIS LAZANAS's user avatar
0 votes
0 answers
70 views

Does the mirai R package use shared memory parallelism? The parallel package uses shared memory parallelism with the mc* (e.g. mclapply) functions and fork clusters, in the sense that the input data ...
user's user avatar
  • 1,150
0 votes
0 answers
20 views

Using shm_open to communicate between client and server. How to guarantee client and server will not double initialize. // server.c int main() { int shm_fd = shm_open("/my_shm", O_CREAT |...
xiaobin's user avatar
  • 21
1 vote
1 answer
87 views

I'm working on a C++ application that launches multiple processes. All of them load the same executable and share a memory region using shm_open + mmap. In that shared memory, we store a ...
Ilan Noy's user avatar
  • 111
2 votes
0 answers
111 views

I can't set correctly shared memory for Qemu RISCV emulation. My intention is to create a portion of shared memory between Qemu RISCV emulator and the host server. I need this because my intention ...
bumblebee's user avatar
4 votes
1 answer
127 views

I am using System V shared memory in my program. The writer process successfully creates the shared memory using shmget(). When the writer process ends, I notice that the shared memory segment ...
StaY_Hungry's user avatar
7 votes
2 answers
571 views

I am trying to create a Rust library to simplify working with shared memory on Linux. Processes would only be able to request shared memory through the library, but I cannot guarantee that they won't ...
sesh's user avatar
  • 95
2 votes
0 answers
81 views

I'm working with a fiber-optic reflective memory card (RFM2g model), which lacks atomic read-modify-write operations. My goal is to implement a spinlock across multiple processes (potentially running ...
MikuSoft's user avatar
0 votes
1 answer
88 views

I am trying a simple programm that creates multiple processes, each process takes a pair of an int and a bool from a list changes the boolean value and reinserts it if it is found false otherwise just ...
ALEXIS LAZANAS's user avatar

15 30 50 per page
1
2 3 4 5
214