#include <stdlib.h>
#include <stdio.h>
#include <pthread.h>
-#include "dstm.h"
+//#include "dstm.h"
#define PLOADFACTOR 0.25
#define PHASH_SIZE 1024
} prehashlistnode_t;
-struct lockarray {
+struct prelockarray {
volatile unsigned int lock;
int buf[15];
};
unsigned int numelements;
unsigned int threshold;
double loadfactor;
- struct lockarray larray[NUMLOCKS];
+ struct prelockarray larray[NUMLOCKS];
} prehashtable_t;
/* Prototypes for hash*/