Skip to content

Commit

Permalink
remove concurrent base/stringvalue, use boost::barrier instead (vesof…
Browse files Browse the repository at this point in the history
…t-inc#3848) (vesoft-inc#605)

* remove concurrent stringvalue

* delete cmakesetting.json

* clang format code

* revert format arg...

* objectpool format

* boost thread linkage

* revert install-gcc.sh

Co-authored-by: yuehua.jia <3423893+jiayuehua@users.noreply.github.com>
  • Loading branch information
nebula-bots and jiayuehua committed Feb 18, 2022
1 parent 86ec1f3 commit baeb371
Show file tree
Hide file tree
Showing 33 changed files with 51 additions and 520 deletions.
3 changes: 1 addition & 2 deletions src/common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ nebula_add_subdirectory(time)
nebula_add_subdirectory(network)
nebula_add_subdirectory(thrift)
nebula_add_subdirectory(fs)
nebula_add_subdirectory(concurrent)
nebula_add_subdirectory(encryption)
nebula_add_subdirectory(thread)
nebula_add_subdirectory(process)
nebula_add_subdirectory(hdfs)
nebula_add_subdirectory(http)
nebula_add_subdirectory(stats)
nebula_add_subdirectory(charset)
nebula_add_subdirectory(algorithm)
nebula_add_subdirectory(encryption)
nebula_add_subdirectory(datatypes)
nebula_add_subdirectory(conf)
nebula_add_subdirectory(meta)
Expand Down
1 change: 0 additions & 1 deletion src/common/base/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ nebula_add_library(
SanitizerOptions.cpp
SignalHandler.cpp
SlowOpTracker.cpp
StringValue.cpp
${gdb_debug_script}
)

Expand Down
3 changes: 2 additions & 1 deletion src/common/base/ObjectPool.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <folly/SpinLock.h>

#include <boost/core/noncopyable.hpp>
#include <functional>
#include <list>
#include <type_traits>
Expand All @@ -21,7 +22,7 @@ class Expression;

typedef std::lock_guard<folly::SpinLock> SLGuard;

class ObjectPool final : private cpp::NonCopyable, private cpp::NonMovable {
class ObjectPool final : private boost::noncopyable, private cpp::NonMovable {
public:
ObjectPool() {}

Expand Down
10 changes: 0 additions & 10 deletions src/common/base/StringValue.cpp

This file was deleted.

34 changes: 0 additions & 34 deletions src/common/base/StringValue.h

This file was deleted.

38 changes: 0 additions & 38 deletions src/common/concurrent/Barrier.cpp

This file was deleted.

52 changes: 0 additions & 52 deletions src/common/concurrent/Barrier.h

This file was deleted.

11 changes: 0 additions & 11 deletions src/common/concurrent/CMakeLists.txt

This file was deleted.

52 changes: 0 additions & 52 deletions src/common/concurrent/Latch.cpp

This file was deleted.

63 changes: 0 additions & 63 deletions src/common/concurrent/Latch.h

This file was deleted.

Loading

0 comments on commit baeb371

Please sign in to comment.