![]() |
Realm
A distributed, event-based tasking library
|
#include <dynamic_table.h>
Public Types | |
| typedef ALLOCATOR::IT | IT |
| typedef ALLOCATOR::ET | ET |
| typedef ALLOCATOR::LT | LT |
Public Member Functions | |
| DynamicTableFreeList (DynamicTable< ALLOCATOR > &_table, int _owner, DynamicTableFreeList< ALLOCATOR > *_parent_list=nullptr) | |
| void | push_front (ET *entry) |
| void | push_front (ET *head, ET *tail) |
| ET * | pop_front_underlock (void) |
| ET * | pop_front (void) |
| ET * | alloc_entry (void) |
| void | free_entry (ET *entry) |
| void | alloc_range (int requested, IT &first_id, IT &last_id) |
Public Attributes | |
| DynamicTable< ALLOCATOR > & | table |
| DynamicTableFreeList< ALLOCATOR > * | parent_list |
| int | owner |
| LT | lock |
| atomic< ET * > | first_free |
| IT | next_alloc |
| typedef ALLOCATOR::ET Realm::DynamicTableFreeList< ALLOCATOR >::ET |
| typedef ALLOCATOR::IT Realm::DynamicTableFreeList< ALLOCATOR >::IT |
| typedef ALLOCATOR::LT Realm::DynamicTableFreeList< ALLOCATOR >::LT |
| Realm::DynamicTableFreeList< ALLOCATOR >::DynamicTableFreeList | ( | DynamicTable< ALLOCATOR > & | _table, |
| int | _owner, | ||
| DynamicTableFreeList< ALLOCATOR > * | _parent_list = nullptr |
||
| ) |
| ET * Realm::DynamicTableFreeList< ALLOCATOR >::alloc_entry | ( | void | ) |
| void Realm::DynamicTableFreeList< ALLOCATOR >::alloc_range | ( | int | requested, |
| IT & | first_id, | ||
| IT & | last_id | ||
| ) |
| void Realm::DynamicTableFreeList< ALLOCATOR >::free_entry | ( | ET * | entry | ) |
| ET * Realm::DynamicTableFreeList< ALLOCATOR >::pop_front | ( | void | ) |
| ET * Realm::DynamicTableFreeList< ALLOCATOR >::pop_front_underlock | ( | void | ) |
| void Realm::DynamicTableFreeList< ALLOCATOR >::push_front | ( | ET * | entry | ) |
| void Realm::DynamicTableFreeList< ALLOCATOR >::push_front | ( | ET * | head, |
| ET * | tail | ||
| ) |
| atomic<ET *> Realm::DynamicTableFreeList< ALLOCATOR >::first_free |
| LT Realm::DynamicTableFreeList< ALLOCATOR >::lock |
| IT Realm::DynamicTableFreeList< ALLOCATOR >::next_alloc |
| int Realm::DynamicTableFreeList< ALLOCATOR >::owner |
| DynamicTableFreeList<ALLOCATOR>* Realm::DynamicTableFreeList< ALLOCATOR >::parent_list |
| DynamicTable<ALLOCATOR>& Realm::DynamicTableFreeList< ALLOCATOR >::table |