Patent ID: 7428732

Claim:
A method comprising: for a first logical processor, obtaining a lock on a semaphore controlling exclusive access to a resource descriptor, the resource descriptor describing a usage allocation of resources shared among a plurality of logical processors wherein the lock is obtained by a semaphore lock routine comprising writing an identifier of the logical processor and a lock value into a semaphore register; obtaining exclusive access for said first logical processor to said resource descriptor if said lock is obtained; determining which shared resources the first logical processor needs; generating resource reservation data identifying the needed resource; applying the resource reservation data to the resource descriptor; querying said resource descriptor to determine whether resources needed by said first logical processor are available; if resources needed by said first logical processor are available, updating said resource descriptor to reserve said resources for exclusive use by said first logical processor; and releasing, utilizing a semaphore lock release routine to pass the identifier of the logical processor and a lock value, said exclusive access for said first logical processor to said resource descriptor.