pipe, dup, dup2, close working without synchronization, set up do_read and do_write for tomorrow