MemContext Struct Reference

#include <veil_shmem.h>


Detailed Description

MemContexts are large single chunks of shared memory from which smaller allocations may be made.

Definition at line 54 of file veil_shmem.h.


Data Fields

Oid db_id
 Identifier for the database for which this context was created, or by which it has been taken over.
LWLockId lwlock
 The LWLock associated with this memory context.
size_t next
 Offset of 1st free byte.
size_t limit
 Offset, of 1st byte beyond this struct.
struct ShmemCtlmemctl
 Pointer to shared memory control structure.
void * memory [0]
 The rest of the chunk, from which memory is allocated.

Field Documentation

Identifier for the database for which this context was created, or by which it has been taken over.

Definition at line 55 of file veil_shmem.h.

Referenced by get_shmem_context().

struct ShmemCtl* MemContext::memctl [read]

Pointer to shared memory control structure.

Definition at line 65 of file veil_shmem.h.


The documentation for this struct was generated from the following file:

Generated on Mon Sep 12 15:27:00 2011 for Veil by  doxygen 1.5.6