|
Atlas Runtime
|
#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 "atlas_alloc.h"#include "atlas_api.h"
Classes | |
| struct | Node |
| struct | SearchResult |
Typedefs | |
| typedef struct Node | Node |
| typedef struct SearchResult | SearchResult |
Functions | |
| Node * | createSingleNode (int Num) |
| Node * | copySingleNode (Node *orig) |
| void | flushNode (Node *node) |
| Node * | insertPass1 (int Num) |
| long | printSLL () |
| void * | insertPass2 (__attribute__((unused)) void *threadid) |
| int | main (int argc, char *argv[]) |
Variables | |
| Node * | SLL = NULL |
| int | NumItems = 0 |
| int | NumFAI = 0 |
| int | NumBlanks = 0 |
| pthread_mutex_t | InsertPosLock = PTHREAD_MUTEX_INITIALIZER |
| Node * | InsertAfter = NULL |
| int | InsertValue |
| typedef struct SearchResult SearchResult |
| Node* createSingleNode | ( | int | Num | ) |
| void flushNode | ( | Node * | node | ) |
| Node* insertPass1 | ( | int | Num | ) |
| void* insertPass2 | ( | __attribute__((unused)) void * | threadid | ) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
| long printSLL | ( | ) |
| Node* InsertAfter = NULL |
| pthread_mutex_t InsertPosLock = PTHREAD_MUTEX_INITIALIZER |
| int InsertValue |
| int NumBlanks = 0 |
| int NumFAI = 0 |
| int NumItems = 0 |
| Node* SLL = NULL |