tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
queues.cpp File Reference
#include <stdlib.h>
#include <sys/mman.h>
#include "common.hpp"
#include "edge.hpp"
#include "queues.hpp"
Include dependency graph for queues.cpp:

Classes

struct  qnode_t< T >
 
class  block_pool< T >
 
struct  block_pool< T >::shared_block_t
 
struct  block_pool< T >::block_head_node_t
 

Functions

void * alloc_mmap (unsigned size)
 
void free_mmap (void *)
 
static unsigned long long a_ld (volatile unsigned long long *src)
 

Variables

shared_block_t *volatile top
 
shared_block_t *volatile nth
 
volatile unsigned long count
 
static block_pool< edge * > * bp = 0
 

Function Documentation

static unsigned long long a_ld ( volatile unsigned long long *  src)
inlinestatic

Here is the caller graph for this function:

void* alloc_mmap ( unsigned  size)
inline

Copyright (C) 2011 University of Rochester Department of Computer Science and Lehigh University Department of Computer Science and Engineering

License: Modified BSD Please see the file LICENSE.RSTM for licensing information

Here is the caller graph for this function:

void free_mmap ( void *  )
inline

Here is the caller graph for this function:

Variable Documentation

block_pool<edge*>* bp = 0
static
volatile unsigned long count
shared_block_t* volatile nth
shared_block_t* volatile top