Commit 650655fd authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2332] renamed thread/lock.h to thread/sync.h as it's not only for locks now

parent c450d77e
......@@ -26,7 +26,7 @@
#include <exceptions/exceptions.h>
#include <util/buffer.h>
#include <util/threads/lock.h>
#include <util/threads/sync.h>
#include <dns/edns.h>
#include <dns/exceptions.h>
......
......@@ -18,7 +18,7 @@
#include <bench/benchmark_util.h>
#include <util/buffer.h>
#include <util/threads/lock.h>
#include <util/threads/sync.h>
#include <dns/message.h>
#include <dns/name.h>
......
......@@ -21,7 +21,7 @@
#include <config/ccsession.h>
#include <exceptions/exceptions.h>
#include <dns/rrclass.h>
#include <util/threads/lock.h>
#include <util/threads/sync.h>
#include <string>
......
......@@ -18,7 +18,7 @@
#include <util/buffer.h>
#include <util/io/socketsession.h>
#include <util/threads/lock.h>
#include <util/threads/sync.h>
#include <dns/message.h>
#include <dns/messagerenderer.h>
......
......@@ -39,7 +39,7 @@
#include <auth/datasrc_config.h>
#include <util/unittests/mock_socketsession.h>
#include <util/threads/lock.h>
#include <util/threads/sync.h>
#include <dns/tests/unittest_util.h>
#include <testutils/dnsmessage_test.h>
#include <testutils/srv_test.h>
......
......@@ -16,7 +16,7 @@
#include "datasrc_util.h"
#include <util/threads/lock.h>
#include <util/threads/sync.h>
#include <auth/auth_srv.h>
#include <auth/auth_config.h>
......
......@@ -16,7 +16,7 @@
#include <config/tests/fake_session.h>
#include <config/ccsession.h>
#include <util/threads/lock.h>
#include <util/threads/sync.h>
#include <gtest/gtest.h>
......
......@@ -5,7 +5,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
AM_CPPFLAGS += $(BOOST_INCLUDES) $(MULTITHREADING_FLAG)
lib_LTLIBRARIES = libb10-threads.la
libb10_threads_la_SOURCES = lock.h lock.cc
libb10_threads_la_SOURCES = sync.h sync.cc
libb10_threads_la_SOURCES += thread.h thread.cc
libb10_threads_la_LIBADD = $(top_builddir)/src/lib/exceptions/libb10-exceptions.la
......
......@@ -12,7 +12,7 @@
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
#include "lock.h"
#include "sync.h"
#include <exceptions/exceptions.h>
......
......@@ -12,8 +12,8 @@
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
#ifndef B10_THREAD_LOCK_H
#define B10_THREAD_LOCK_H
#ifndef B10_THREAD_SYNC_H
#define B10_THREAD_SYNC_H
#include <boost/noncopyable.hpp>
......
......@@ -14,7 +14,7 @@
#include <exceptions/exceptions.h>
#include <util/threads/lock.h>
#include <util/threads/sync.h>
#include <util/threads/thread.h>
#include <gtest/gtest.h>
......
......@@ -12,7 +12,7 @@
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
#include <util/threads/lock.h>
#include <util/threads/sync.h>
#include <util/threads/thread.h>
#include <gtest/gtest.h>
......
......@@ -13,7 +13,7 @@
// PERFORMANCE OF THIS SOFTWARE.
#include "thread.h"
#include "lock.h"
#include "sync.h"
#include <memory>
#include <string>
......
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