tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
sequencer.c File Reference
#include "tm.h"
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include "hash.h"
#include "hashtable.h"
#include "segments.h"
#include "sequencer.h"
#include "table.h"
#include "thread.h"
#include "utility.h"
#include "vector.h"
#include "types.h"
Include dependency graph for sequencer.c:

Classes

struct  endInfoEntry
 
struct  constructEntry
 

Functions

static ulong_t hashString (char *str)
 
static ulong_t hashSegment (const void *keyPtr)
 
static long compareSegment (const pair_t *a, const pair_t *b)
 
static long TMcompareSegment (TM_ARGDECL const pair_t *a, const pair_t *b)
 
sequencer_tsequencer_alloc (long geneLength, long segmentLength, segments_t *segmentsPtr)
 
void sequencer_run (void *argPtr)
 
void sequencer_free (sequencer_t *sequencerPtr)
 

Variables

comparator_t
sequencer_comparesegment & 
compareSegment
 

Function Documentation

static long compareSegment ( const pair_t a,
const pair_t b 
)
static
static ulong_t hashSegment ( const void *  keyPtr)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static ulong_t hashString ( char *  str)
static

Here is the caller graph for this function:

sequencer_t* sequencer_alloc ( long  geneLength,
long  segmentLength,
segments_t segmentsPtr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void sequencer_free ( sequencer_t sequencerPtr)

Here is the call graph for this function:

Here is the caller graph for this function:

void sequencer_run ( void *  argPtr)

Here is the call graph for this function:

Here is the caller graph for this function:

static long TMcompareSegment ( TM_ARGDECL const pair_t a,
const pair_t b 
)
static

Variable Documentation

comparator_t sequencer_comparesegment& compareSegment