MemContext Struct Reference

#include <veil_shmem.h>

Collaboration diagram for MemContext:

Collaboration graph

Detailed Description

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

Definition at line 52 of file veil_shmem.h.

Data Fields

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


Field Documentation

LWLockId MemContext::lwlock

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

Definition at line 57 of file veil_shmem.h.

Referenced by get_shmem_context().


The documentation for this struct was generated from the following file:
Generated on Tue Jul 31 15:35:59 2007 for Veil by  doxygen 1.5.2