Namespaces | Defines | Variables

diskstream.cpp File Reference

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <iostream>
#include <string>
#include <cerrno>
#include <algorithm>
#include <sys/mman.h>
#include "GnashSystemIOHeaders.h"
#include "network.h"
#include "buffer.h"
#include "amf.h"
#include "log.h"
#include "cque.h"
#include "diskstream.h"
#include "cache.h"
#include "getclocktime.hpp"
#include <boost/thread/mutex.hpp>
Include dependency graph for diskstream.cpp:

Namespaces

namespace  gnash
 

Anonymous namespace for callbacks, local functions, event handlers etc.


Defines

#define _SC_PAGESIZE   8
#define MAP_FAILED   0

Variables

const size_t gnash::MAX_PAGES = 2560

Define Documentation

#define _SC_PAGESIZE   8

This isn't set on all systems, but is used to get the page size used for memory allocations.

Referenced by gnash::DiskStream::DiskStream().

#define MAP_FAILED   0