Atlas Runtime
sll_mt.cpp File Reference
#include <alloca.h>
#include <assert.h>
#include <complex>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
Include dependency graph for sll_mt.cpp:

Classes

struct  Node
 
struct  SearchResult
 

Typedefs

typedef struct Node Node
 
typedef struct SearchResult SearchResult
 

Functions

NodecreateNode (int Num)
 
NodeinsertPass1 (int Num)
 
long printSLL ()
 
void * insertPass2 (__attribute__((unused)) void *threadid)
 
int main (int argc, char *argv[])
 

Variables

NodeSLL = NULL
 
int NumItems = 0
 
int NumFAI = 0
 
int NumBlanks = 0
 
pthread_mutex_t InsertPosLock = PTHREAD_MUTEX_INITIALIZER
 
NodeInsertAfter = NULL
 
int InsertValue
 

Typedef Documentation

typedef struct Node Node
typedef struct SearchResult SearchResult

Function Documentation

Node* createNode ( int  Num)
Node* insertPass1 ( int  Num)
void* insertPass2 ( __attribute__((unused)) void *  threadid)
int main ( int  argc,
char *  argv[] 
)
long printSLL ( )

Variable Documentation

Node* InsertAfter = NULL
pthread_mutex_t InsertPosLock = PTHREAD_MUTEX_INITIALIZER
int InsertValue
int NumBlanks = 0
int NumFAI = 0
int NumItems = 0
Node* SLL = NULL