title: Switch parent and child process
body: <p>I am wondering whether it is possible to transform a child process (created via fork) into the parent process? </p>
  
  <p>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.</p>
  
  <p>Is that possible at all?</p>