A machining error correction method corrects error in machining of a work by a tool. Initially, first and second processes can be attached to a message buffer in a shared region of user memory. Hot gas passes sequentially between the coils in co-current flow with liquid flow in one adjacent coil and counter-current flow with liquid flow in another adjacent coil.