#include <veil_datatypes.h>
Definition at line 152 of file veil_datatypes.h.
Data Fields | |
ObjType | type |
bool | initialised |
LWLockId | veil_lwlock |
int | current_context |
size_t | total_allocated [2] |
bool | switching |
MemChunk * | context [2] |
TransactionId | xid [2] |
MemChunk * | context [2] |
This must have the value OBJ_SHMEMCTL
Definition at line 153 of file veil_datatypes.h.
Set to true once struct is setup
Definition at line 154 of file veil_datatypes.h.
dynamically allocated LWLock Index of the current context (0 or 1)
Definition at line 156 of file veil_datatypes.h.
size_t ShmemCtl::total_allocated |
Total shared memory allocated in chunks in each context
Definition at line 158 of file veil_datatypes.h.
bool ShmemCtl::switching |
Whether a context-switch is in progress
Definition at line 160 of file veil_datatypes.h.
The first chunks of each context
Definition at line 162 of file veil_datatypes.h.
TransactionId ShmemCtl::xid |
The transaction id of the transaction that initialised each context: this is used to determine whether there are transactions still runnning that may be using an earlier context.
Definition at line 163 of file veil_datatypes.h.
The first chunks of each context
Definition at line 117 of file veil_shmem.h.