Open-Transactions  0.93.0-ge03d287
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OTCallback.cpp File Reference
#include "stdafx.hpp"
#include "crypto/OTCallback.hpp"
#include "OTLog.hpp"
#include <sys/types.h>
#include <sys/mman.h>
#include <limits.h>
#include <unistd.h>
Include dependency graph for OTCallback.cpp:

Go to the source code of this file.

Namespaces

 opentxs
 

Macros

#define PAGESIZE   sysconf(_SC_PAGESIZE)
 
#define mlock(a, b)
 
#define munlock(a, b)
 

Macro Definition Documentation

#define mlock (   a,
 
)
Value:
mlock(((void*)(((size_t)(a)) & (~((PAGESIZE)-1)))), \
(((((size_t)(a)) + (b)-1) | ((PAGESIZE)-1)) + 1) - \
(((size_t)(a)) & (~((PAGESIZE)-1))))
#define mlock(a, b)
Definition: OTCallback.cpp:154
#define PAGESIZE
Definition: OTCallback.cpp:149

Definition at line 154 of file OTCallback.cpp.

#define munlock (   a,
 
)
Value:
munlock(((void*)(((size_t)(a)) & (~((PAGESIZE)-1)))), \
(((((size_t)(a)) + (b)-1) | ((PAGESIZE)-1)) + 1) - \
(((size_t)(a)) & (~((PAGESIZE)-1))))
#define PAGESIZE
Definition: OTCallback.cpp:149
#define munlock(a, b)
Definition: OTCallback.cpp:158

Definition at line 158 of file OTCallback.cpp.

#define PAGESIZE   sysconf(_SC_PAGESIZE)

Definition at line 149 of file OTCallback.cpp.