fixes Tokutek/ft-index#163 frwlock is properly split into .h and .cc. Users only include .h

This commit is contained in:
Yoni Fogel 2014-01-29 22:09:33 -08:00
parent 5a61f34453
commit 4d9ba2645a
6 changed files with 2 additions and 4 deletions

View file

@ -96,7 +96,6 @@ PATENT RIGHTS GRANT:
#include "background_job_manager.h"
#include <portability/toku_random.h>
#include <util/frwlock.h>
#include <util/frwlock.cc>
#include <util/kibbutz.h>
#include <util/nb_mutex.h>
#include <util/partitioned_counter.h>

View file

@ -1,5 +1,6 @@
set(util_srcs
context
frwlock
kibbutz
mempool
partitioned_counter

View file

@ -92,6 +92,7 @@ PATENT RIGHTS GRANT:
#include <toku_assert.h>
#include <util/context.h>
#include <util/frwlock.h>
namespace toku {

View file

@ -5,7 +5,6 @@
#include <unistd.h>
#include <pthread.h>
#include <util/frwlock.h>
#include <util/frwlock.cc>
toku_mutex_t rwlock_mutex;
toku::frwlock rwlock;

View file

@ -99,7 +99,6 @@ PATENT RIGHTS GRANT:
#include <portability/toku_pthread.h>
#include <portability/toku_time.h>
#include <util/frwlock.h>
#include <util/frwlock.cc>
#include <util/rwlock.h>
#include "rwlock_condvar.h"

View file

@ -126,7 +126,6 @@ PATENT RIGHTS GRANT:
#include <portability/toku_pthread.h>
#include <portability/toku_time.h>
#include <util/frwlock.h>
#include <util/frwlock.cc>
#include <util/rwlock.h>
#include "rwlock_condvar.h"