Patent ID: 7107593

Claim:
A method for a computer system having a plurality of processors and on which a particular processor already has scheduled thereon a reservation for a thread in the activity, the reservation specifying a recurring desired number of time units within a desired period, the method comprising: receiving a constraint for the thread in the activity specifying a desired earliest start time, amount of requested execution time, and a deadline; determining whether the constraint can be scheduled on the particular processor; upon determining that the constraint can be scheduled on the particular processor, scheduling the constraint on the particular processor; otherwise, determining whether one of a second reservation and a constraint for a second thread is also scheduled on the particular processor, such that absence of the one of the second reservation and the constraint would permit scheduling the constraint on the particular processor; and, upon determining that there is one of a second reservation and a constraint for a second thread scheduled on the particular processor such that the absence thereof would permit scheduling the constraint on the particular processor, moving the one of the second reservation and the constraint to another processor and scheduling the constraint on the particular processor.