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)

* remove concurrent stringvalue

* delete cmakesetting.json

* clang format code

* revert format arg...

* objectpool format

* boost thread linkage

* revert install-gcc.sh
  • Loading branch information
jiayuehua authored and liwenhui-soul committed Feb 15, 2022
1 parent 2631302 commit b15a2db
Show file tree
Hide file tree
Showing 33 changed files with 50 additions and 519 deletions.
1 change: 0 additions & 1 deletion src/common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ nebula_add_subdirectory(time)
nebula_add_subdirectory(network)
nebula_add_subdirectory(thrift)
nebula_add_subdirectory(fs)
nebula_add_subdirectory(concurrent)
nebula_add_subdirectory(thread)
nebula_add_subdirectory(process)
nebula_add_subdirectory(hdfs)
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.

93 changes: 0 additions & 93 deletions src/common/concurrent/test/BarrierTest.cpp

This file was deleted.

Loading

0 comments on commit b15a2db

Please sign in to comment.