Implement the "fork ... else ... then" block.