#include <InkPool_r.h>
Inherits InkStaticPool< C >.

Public Member Functions | |
| InkStaticPool_r (int size) | |
| virtual | ~InkStaticPool_r () |
| C * | get () |
| bool | put (C *newObj) |
| void | put_or_delete (C *newObj) |
| ProxyMutex * | getMutex () |
Protected Attributes | |
| Ptr< ProxyMutex > | mutex |
Definition at line 30 of file InkPool_r.h.
| InkStaticPool_r< C >::InkStaticPool_r | ( | int | size | ) | [inline] |
Definition at line 33 of file InkPool_r.h.
References InkStaticPool_r< C >::mutex, and new_ProxyMutex().
| virtual InkStaticPool_r< C >::~InkStaticPool_r | ( | ) | [inline, virtual] |
Definition at line 38 of file InkPool_r.h.
References InkStaticPool< C >::cleanUp(), InkStaticPool_r< C >::mutex, MUTEX_LOCK, and this_ethread().
| C* InkStaticPool_r< C >::get | ( | void | ) | [inline] |
Reimplemented from InkStaticPool< C >.
Definition at line 43 of file InkPool_r.h.
References InkStaticPool_r< C >::mutex, MUTEX_LOCK, and this_ethread().
| ProxyMutex* InkStaticPool_r< C >::getMutex | ( | ) | [inline] |
Definition at line 61 of file InkPool_r.h.
References InkStaticPool_r< C >::mutex.
| bool InkStaticPool_r< C >::put | ( | C * | newObj | ) | [inline] |
Reimplemented from InkStaticPool< C >.
Definition at line 49 of file InkPool_r.h.
References InkStaticPool_r< C >::mutex, MUTEX_LOCK, and this_ethread().
Referenced by InkStaticPool_r< C >::put_or_delete().
| void InkStaticPool_r< C >::put_or_delete | ( | C * | newObj | ) | [inline] |
Reimplemented from InkStaticPool< C >.
Definition at line 55 of file InkPool_r.h.
References InkStaticPool_r< C >::put().
Ptr<ProxyMutex> InkStaticPool_r< C >::mutex [protected] |
Definition at line 67 of file InkPool_r.h.
Referenced by InkStaticPool_r< C >::get(), InkStaticPool_r< C >::getMutex(), InkStaticPool_r< C >::InkStaticPool_r(), InkStaticPool_r< C >::put(), and InkStaticPool_r< C >::~InkStaticPool_r().
1.7.1