I am wondering whether it is possible to transform a child process (created via fork) into the parent process?
I want to implement a transaction concept in which each transaction forks a snapshot of the current memory state. If a transaction commits successfully, the corresponding process should become the new parent process and the old parent process should be terminated.
Is that possible at all?