Patent ID: 7792983
Filing Date: 2010-09-07
Classification: G06F

Abstract:
1. A computer implemented method for restarting pseudo terminal streams, the computer implemented method comprising: opening a device associated with a file descriptor in a set of file descriptors, wherein the set of file descriptors are identified in checkpoint data for restarting the pseudo terminal streams; responsive to identifying the device as a pseudo terminal slave device, adding an entry for the identified pseudo terminal slave device to a list of open pseudo terminal slave devices; marking the entry for the identified pseudo terminal slave device as an open pseudo terminal slave device, wherein the list of open pseudo terminal slave devices allows pseudo terminal master devices and pseudo terminal slave devices associated with the pseudo terminal streams to be restarted in a random order; and responsive to identifying the device as a socket associated with a pseudo terminal device, calling network services to write a state of the socket into a data structure in a pseudo terminal stream in the pseudo terminal streams being restarted, wherein information in the checkpoint data describes the state of the socket, a correct pseudo terminal master device, and a pseudo terminal slave device pair associated with the socket.