SharedBuffer.h File Reference


Detailed Description

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

#include <support/Atom.h>
#include <support/SupportDefs.h>
#include <support/atomic.h>

Go to the source code of this file.

Classes

class  SSharedBuffer
 A chunk of memory that supports copy-on-write semantics. More...

Enumerations

enum  {
  B_BUFFER_USERS_SHIFT = 4, B_BUFFER_LENGTH_SHIFT = 1, B_STATIC_USERS = 0x00000001, B_POOLED_USERS = 0x00000002,
  B_EXTENDED_BUFFER = 0x00000001
}
 Special bits in the SSharedBuffer user count and length fields. More...