From 8aad1b896a0fc8c5216323d7e6f730de17331886 Mon Sep 17 00:00:00 2001 From: Sears Russell Date: Tue, 25 Jul 2006 01:06:01 +0000 Subject: [PATCH] pthread.h | rw.h -> latches.h (Otherwise, -DPROFILE_LATCHES doesn't work. --- src/lladd/lhtable.c | 2 +- src/lladd/lockManager.c | 2 +- src/lladd/logger/inMemoryLog.c | 2 +- src/lladd/operations/bTree.c | 2 +- src/lladd/operations/linearHashNTA.c | 2 +- src/lladd/operations/linkedListNTA.c | 2 +- src/lladd/operations/naiveLinearHash.c | 2 +- src/lladd/operations/nestedTopActions.c | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/lladd/lhtable.c b/src/lladd/lhtable.c index a08c028..3b47e02 100644 --- a/src/lladd/lhtable.c +++ b/src/lladd/lhtable.c @@ -5,7 +5,7 @@ #include #include #include -#include +#include "latches.h" /** @todo Look up the balls + bins stuff, and pick FILL_FACTOR in a principled way... diff --git a/src/lladd/lockManager.c b/src/lladd/lockManager.c index a5855b8..ec96d21 100644 --- a/src/lladd/lockManager.c +++ b/src/lladd/lockManager.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include "latches.h" #include #include #include diff --git a/src/lladd/logger/inMemoryLog.c b/src/lladd/logger/inMemoryLog.c index 58bbd8a..856cff9 100644 --- a/src/lladd/logger/inMemoryLog.c +++ b/src/lladd/logger/inMemoryLog.c @@ -1,5 +1,5 @@ #include "inMemoryLog.h" -#include +#include "../latches.h" #include #include static rwl * flushedLSN_lock; diff --git a/src/lladd/operations/bTree.c b/src/lladd/operations/bTree.c index 0f153a9..f1d8699 100644 --- a/src/lladd/operations/bTree.c +++ b/src/lladd/operations/bTree.c @@ -1,6 +1,6 @@ #define __USE_GNU #define _GNU_SOURCE -#include +#include "../latches.h" #include #include #include "../page.h" diff --git a/src/lladd/operations/linearHashNTA.c b/src/lladd/operations/linearHashNTA.c index ed80870..3a29281 100644 --- a/src/lladd/operations/linearHashNTA.c +++ b/src/lladd/operations/linearHashNTA.c @@ -1,6 +1,6 @@ #define __USE_GNU #define _GNU_SOURCE -#include +#include "../latches.h" #include #include #include "../page.h" diff --git a/src/lladd/operations/linkedListNTA.c b/src/lladd/operations/linkedListNTA.c index 4f14391..4b399b4 100644 --- a/src/lladd/operations/linkedListNTA.c +++ b/src/lladd/operations/linkedListNTA.c @@ -1,6 +1,6 @@ #define __USE_GNU #define _GNU_SOURCE -#include +#include "../latches.h" #include #include diff --git a/src/lladd/operations/naiveLinearHash.c b/src/lladd/operations/naiveLinearHash.c index ff3e08b..5632e27 100644 --- a/src/lladd/operations/naiveLinearHash.c +++ b/src/lladd/operations/naiveLinearHash.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include "../latches.h" /** A from-scratch implementation of linear hashing. Uses the diff --git a/src/lladd/operations/nestedTopActions.c b/src/lladd/operations/nestedTopActions.c index 553f085..dd1d4dd 100644 --- a/src/lladd/operations/nestedTopActions.c +++ b/src/lladd/operations/nestedTopActions.c @@ -51,7 +51,7 @@ terms specified in this license. #include #include #include -#include +#include "../latches.h" #include /** @todo Remove extern declaration of transactional_2_mutex from nestedTopActions.c */ extern pthread_mutex_t transactional_2_mutex;