Commit 4d9ba264 authored by Yoni Fogel's avatar Yoni Fogel

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

parent 5a61f344
......@@ -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>
......
set(util_srcs
context
frwlock
kibbutz
mempool
partitioned_counter
......
......@@ -92,6 +92,7 @@ PATENT RIGHTS GRANT:
#include <toku_assert.h>
#include <util/context.h>
#include <util/frwlock.h>
namespace toku {
......
......@@ -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;
......
......@@ -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"
......
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment