|
FreeRDP
|
#include <winpr/config.h>#include <winpr/crt.h>#include <winpr/assert.h>#include <winpr/collections.h>Functions | |
| static void | ObjectPool_Lock (wObjectPool *pool) |
| static void | ObjectPool_Unlock (wObjectPool *pool) |
| void * | ObjectPool_Take (wObjectPool *pool) |
| void | ObjectPool_Return (wObjectPool *pool, void *obj) |
| wObject * | ObjectPool_Object (wObjectPool *pool) |
| void | ObjectPool_Clear (wObjectPool *pool) |
| wObjectPool * | ObjectPool_New (BOOL synchronized) |
| void | ObjectPool_Free (wObjectPool *pool) |
| void ObjectPool_Clear | ( | wObjectPool * | pool | ) |
Releases the buffers currently cached in the pool.


| void ObjectPool_Free | ( | wObjectPool * | pool | ) |


|
static |
C Object Pool similar to C# BufferManager Class: http://msdn.microsoft.com/en-us/library/ms405814.aspx Methods


| wObjectPool* ObjectPool_New | ( | BOOL | synchronized | ) |
Construction, Destruction


| wObject* ObjectPool_Object | ( | wObjectPool * | pool | ) |

| void ObjectPool_Return | ( | wObjectPool * | pool, |
| void * | obj | ||
| ) |
Returns an object to the pool.


| void* ObjectPool_Take | ( | wObjectPool * | pool | ) |
Gets an object from the pool.


|
static |

