Apparatus and method for providing a threadsafe object pool with minimal locking

1. Technical Field A threadsafe object pool in accordance with the preferred embodiments reserves each object for a particular thread of execution. Locking of an object pool is normally required to assure that two threads cannot simultaneously request the same object. However, because each object in...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: Nock, Clifton Malcolm
Format: Patent
Sprache:eng
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:1. Technical Field A threadsafe object pool in accordance with the preferred embodiments reserves each object for a particular thread of execution. Locking of an object pool is normally required to assure that two threads cannot simultaneously request the same object. However, because each object in the pool is reserved for a single thread, no other threads will be allowed to access the object, so the locking of the pool to prevent simultaneously allocating an object to two different threads is not required.