|
|
|
|
|
by the8472
850 days ago
|
|
The setup part needs to be turing-complete. A simple struct won't do. What you're talking about sounds more like posix_spawn.
io_uring_spawn on the other hand would allow that because the parent process could execute the logic between syscall submissions to the newly created process. |
|
Windows and Fuchsia are two handle-based OSes, and Fuchsia does in fact spawn processes in this manner (Windows just has a family of CreateProcess methods that do both).