A System Implementing Multi-Threaded Applications
A method is provided for executing instructions embedded in two threads stored in a processing system comprising two operating units and a virtual managing entity for holding a plurality of queues for virtual objects waiting to use a respective operating unit and for diverting virtual objects from o...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A method is provided for executing instructions embedded in two threads stored in a processing system comprising two operating units and a virtual managing entity for holding a plurality of queues for virtual objects waiting to use a respective operating unit and for diverting virtual objects from one queue to another. Each virtual object is associated with two virtual timers, one being a virtual timer for measuring a time period during which the virtual object is held in the queue (TIQ) and the other provides a period of time during which the virtual object will remain in an alive state (TTL). The method comprises: receiving information relating to virtual objects associated with the two threads; operating on virtual objects which their TTLs have expired; upon emerging from its respective queue, determining whether each virtual object should be diverted to another queue; upon diverting the virtual object, resetting its TIQ timer; and allocating an access time to each virtual object based on a number of threads requiring that virtual object and the TIQ associated therewith. |
---|