Object pool pattern: Difference between revisions

Content deleted Content added
m moved Object pool to Object pool pattern: This article doesn't refer to any pool of objects, but to a specific pattern named like this
Line 22:
 
If the pool is used by multiple threads, it may need means to prevent parallel threads from grabbing and trying to reuse the same object in parallel. This is not necessary if the pooled objects are immutable or otherwise thread-safe.
 
== Class diagram==
[[Image:Object_pool1.png]]
 
== Criticism ==