Invention Grant
- Patent Title: Starting a process using file descriptors
-
Application No.: US14238711Application Date: 2012-09-26
-
Publication No.: US09864630B2Publication Date: 2018-01-09
- Inventor: Wei Wei
- Applicant: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP
- Applicant Address: US TX Houston
- Assignee: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP
- Current Assignee: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP
- Current Assignee Address: US TX Houston
- Agency: Hewlett Packard Enterprise Patent Department
- Priority: CN201110308533 20111012
- International Application: PCT/CN2012/081991 WO 20120926
- International Announcement: WO2013/053289 WO 20130418
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F9/48

Abstract:
According to an example, a method includes: before a first process exits, a kernel receives a connection holding request carrying a File Descriptor (FD) transmitted by the first process, with respect to the FD carried by the connection holding request, the kernel increases a reference count of a file object corresponding to the FD and puts the file object into a cache, the kernel returns cache position information to the first process, such that the first process puts a corresponding relationship between the cache position information and identifier information of a communication connection pointed to by the FD in a predefined storage area; when a second process starts, the kernel receives an FD obtaining request carrying the cache position information transmitted by the second process, reads the file object from the cache, assigns a new FD to the file object and returns the new FD to the second process.
Public/Granted literature
- US20140289731A1 STARTING A PROCESS Public/Granted day:2014-09-25
Information query