Answer the question
In order to leave comments, you need to log in
How to transfer a large array of data between processes?
Prompt a library/method with which it is possible to exchange data between processes (under different users) for Linux.
The program will execute functionality: run a child process under another user, and transfer files there. In this case, the child process may have an error, which the process will report to the parent. More than one transfer can occur in parallel.
I have a file stream, if it were to be passed directly to the child process, so that it would not eat a lot of resources and be pretty fast.
What tell me?
Answer the question
In order to leave comments, you need to log in
You can use NamedPipeClientStream and NamedPipeServerStream - this is probably the fastest/lightweight way.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question