Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

CoreSupportUtilities


Files

file  SharedBuffer.h
 Standard representation of a block of shared data that supports copy-on-write.

Data Structures

class  alp::SharedBuffer
 A chunk of memory that supports copy-on-write semantics. More...

Enumerations

enum  {
  alp::ALP_BUFFER_USERS_SHIFT = 4, alp::ALP_BUFFER_LENGTH_SHIFT = 1, alp::ALP_STATIC_USERS = 0x00000001, alp::ALP_POOLED_USERS = 0x00000002,
  alp::ALP_EXTENDED_BUFFER = 0x00000001
}
 Special bits in the SharedBuffer user count and length fields. More...


Enumeration Type Documentation

anonymous enum
 

Special bits in the SharedBuffer user count and length fields.

Note that these magic values are the LOW bits. This is to help code generation of THUMB instructions. It means that retrieving the real value requires a shift instead of a mask.

Enumerator:
ALP_BUFFER_USERS_SHIFT  Amount by which to shift user count.
ALP_BUFFER_LENGTH_SHIFT  Amount by which to shift length.
ALP_STATIC_USERS  Flag indicating SharedBuffer is in the static text section of an executable.

This is part of the reference count of the shared memory buffer.

ALP_POOLED_USERS  Flag indicating SharedBuffer is in the buffer pool.

This is part of the reference count of the shared memory buffer.

ALP_EXTENDED_BUFFER  Flag indicating SharedBuffer has additional meta-data before the buffer.

This is part of the length of the shared memory buffer.


Generated on Sat Dec 16 20:29:50 2006 for hiker-0.9 by  doxygen 1.4.4