Managing processes within suspend states and execution states
First Claim
1. A method for determining whether to resume a suspended process based upon a wake policy, comprising:
- maintaining a wake policy associated with a logical container assigned to a suspended process within a logical container hierarchy, the wake policy comprising a counter indicative of a number of wake notifications associated with the wake policy that are currently pending for the suspended process;
incrementing the counter based upon receiving a wake notification associated with the wake policy;
decrementing the counter based upon receiving a notification that the wake notification is not currently pending;
upon determining a value of the counter is above a threshold that is not zero;
placing the suspended process into an execution state;
traversing the logical container hierarchy to identify one or more additional suspended processes associated with the suspended process based upon determining that the one or more additional suspended processing are assigned to logical containers associated with the logical container of the suspended process; and
placing the one or more additional suspended processes into the execution state; and
upon determining the value of the counter is below the threshold, retaining the suspended process in a suspend state.
2 Assignments
0 Petitions
Accused Products
Abstract
One or more techniques and/or systems are provided for suspending logically related processes associated with an application, determining whether to resume a suspended process based upon a wake policy, and/or managing an application state of an application, such as timer and/or system message data. That is, logically related processes associated with an application, such as child processes, may be identified and suspended based upon logical relationships between the processes (e.g., a logical container hierarchy may be traversed to identify logically related processes). A suspended process may be resumed based upon a wake policy. For example, a suspended process may be resumed based upon an inter-process communication call policy that may be triggered by an application attempting to communicate with the suspended process. Application data may be managed while an application is suspended so that the application may be resumed in a current and/or relevant state.
-
Citations
20 Claims
-
1. A method for determining whether to resume a suspended process based upon a wake policy, comprising:
-
maintaining a wake policy associated with a logical container assigned to a suspended process within a logical container hierarchy, the wake policy comprising a counter indicative of a number of wake notifications associated with the wake policy that are currently pending for the suspended process; incrementing the counter based upon receiving a wake notification associated with the wake policy; decrementing the counter based upon receiving a notification that the wake notification is not currently pending; upon determining a value of the counter is above a threshold that is not zero; placing the suspended process into an execution state; traversing the logical container hierarchy to identify one or more additional suspended processes associated with the suspended process based upon determining that the one or more additional suspended processing are assigned to logical containers associated with the logical container of the suspended process; and placing the one or more additional suspended processes into the execution state; and upon determining the value of the counter is below the threshold, retaining the suspended process in a suspend state. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A computer readable storage memory comprising computer executable instructions that when executed via a processing unit on a computer perform a method for determining whether to resume a suspended process based upon a wake policy, the method comprising:
-
maintaining a wake policy associated with a logical container assigned to a suspended process within a logical container hierarchy, the wake policy comprising a counter indicative of a number of wake notifications associated with the wake policy that are currently pending for the suspended process; incrementing the counter based upon receiving a wake notification associated with the wake policy; decrementing the counter based upon receiving a notification that the wake notification is not currently pending; upon determining a value of the counter is above a threshold that is not zero; placing the suspended process into an execution state; traversing the logical container hierarchy to identify one or more additional suspended processes associated with the suspended process based upon determining that the one or more additional suspended processing are assigned to logical containers associated with the logical container of the suspended process; and placing the one or more additional suspended processes into the execution state; and upon determining the value of the counter is below the threshold, retaining the suspended process in a suspend state. - View Dependent Claims (14, 15)
-
-
16. A system for determining whether to resume a suspended process based upon a wake policy, comprising:
-
one or more processing units; and memory comprising instructions that when executed by at least one of the one or more processing units implement at least some of; a wake component configured to; maintain a wake policy associated with a logical container assigned to a suspended process within a logical container hierarchy, the wake policy comprising a counter indicative of a number of wake notifications associated with the wake policy that are currently pending for the suspended process; increment the counter based upon receiving a wake notification associated with the wake policy; decrement the counter based upon receiving a notification that the wake notification is not currently pending; upon determining a value of the counter is above a threshold that is not zero; place the suspended process into an execution state; traverse the logical container hierarchy to identify one or more additional suspended processes associated with the suspended process based upon determining that the one or more additional suspended processing are assigned to logical containers associated with the logical container of the suspended process; and place the one or more additional suspended processes into the execution state; and upon determining the value of the counter is below the threshold, retain the suspended process in a suspend state. - View Dependent Claims (17, 18, 19, 20)
-
Specification