#include <DS_ThreadsafeAllocatingQueue.h>

Public Member Functions | |
| void | Push (structureType *s) |
| structureType * | PopInaccurate (void) |
| structureType * | Pop (void) |
| void | SetPageSize (int size) |
| bool | IsEmpty (void) |
| structureType * | Allocate (const char *file, unsigned int line) |
| void | Deallocate (structureType *s, const char *file, unsigned int line) |
| void | Clear (const char *file, unsigned int line) |
Protected Attributes | |
| MemoryPool< structureType > | memoryPool |
| SimpleMutex | memoryPoolMutex |
| Queue< structureType * > | queue |
| SimpleMutex | queueMutex |
Definition at line 22 of file DS_ThreadsafeAllocatingQueue.h.
| structureType * DataStructures::ThreadsafeAllocatingQueue< structureType >::Allocate | ( | const char * | file, | |
| unsigned int | line | |||
| ) |
Definition at line 83 of file DS_ThreadsafeAllocatingQueue.h.


| void DataStructures::ThreadsafeAllocatingQueue< structureType >::Clear | ( | const char * | file, | |
| unsigned int | line | |||
| ) |
Definition at line 104 of file DS_ThreadsafeAllocatingQueue.h.


| void DataStructures::ThreadsafeAllocatingQueue< structureType >::Deallocate | ( | structureType * | s, | |
| const char * | file, | |||
| unsigned int | line | |||
| ) |
Definition at line 94 of file DS_ThreadsafeAllocatingQueue.h.


| bool DataStructures::ThreadsafeAllocatingQueue< structureType >::IsEmpty | ( | void | ) |
Definition at line 126 of file DS_ThreadsafeAllocatingQueue.h.


| structureType * DataStructures::ThreadsafeAllocatingQueue< structureType >::Pop | ( | void | ) |
Definition at line 68 of file DS_ThreadsafeAllocatingQueue.h.


| structureType * DataStructures::ThreadsafeAllocatingQueue< structureType >::PopInaccurate | ( | void | ) |
Definition at line 53 of file DS_ThreadsafeAllocatingQueue.h.


| void DataStructures::ThreadsafeAllocatingQueue< structureType >::Push | ( | structureType * | s | ) |
Definition at line 45 of file DS_ThreadsafeAllocatingQueue.h.


| void DataStructures::ThreadsafeAllocatingQueue< structureType >::SetPageSize | ( | int | size | ) |
Definition at line 120 of file DS_ThreadsafeAllocatingQueue.h.


MemoryPool<structureType> DataStructures::ThreadsafeAllocatingQueue< structureType >::memoryPool [protected] |
Definition at line 38 of file DS_ThreadsafeAllocatingQueue.h.
SimpleMutex DataStructures::ThreadsafeAllocatingQueue< structureType >::memoryPoolMutex [protected] |
Definition at line 39 of file DS_ThreadsafeAllocatingQueue.h.
Queue<structureType*> DataStructures::ThreadsafeAllocatingQueue< structureType >::queue [protected] |
Definition at line 40 of file DS_ThreadsafeAllocatingQueue.h.
SimpleMutex DataStructures::ThreadsafeAllocatingQueue< structureType >::queueMutex [protected] |
Definition at line 41 of file DS_ThreadsafeAllocatingQueue.h.
1.7.1