Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Classes | Typedefs | Functions
allocators.h File Reference
#include <string.h>
#include <string>
#include <boost/thread/mutex.hpp>
#include <map>
#include <openssl/crypto.h>
#include <sys/mman.h>
#include <limits.h>
#include <unistd.h>
Include dependency graph for allocators.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LockedPageManagerBase< Locker >
 Thread-safe class to keep track of locked (ie, non-swappable) memory pages. More...
 
class  MemoryPageLocker
 OS-dependent memory page locking/unlocking. More...
 
class  LockedPageManager
 Singleton class to keep track of locked (ie, non-swappable) memory pages, for use in std::allocator templates. More...
 
struct  secure_allocator< T >
 
struct  secure_allocator< T >::rebind< _Other >
 
struct  zero_after_free_allocator< T >
 
struct  zero_after_free_allocator< T >::rebind< _Other >
 

Typedefs

typedef std::basic_string
< char, std::char_traits< char >
, secure_allocator< char > > 
SecureString
 

Functions

template<typename T >
void LockObject (const T &t)
 
template<typename T >
void UnlockObject (const T &t)
 

Typedef Documentation

typedef std::basic_string<char, std::char_traits<char>, secure_allocator<char> > SecureString

Definition at line 269 of file allocators.h.

Function Documentation

template<typename T >
void LockObject ( const T &  t)

Definition at line 183 of file allocators.h.

template<typename T >
void UnlockObject ( const T &  t)

Definition at line 187 of file allocators.h.