Skip to content

Commit

Permalink
Release v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
QiumingLu committed Dec 20, 2017
1 parent 933f3aa commit f12929e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ project (Saber C CXX)

set(SABER_VERSION_MAJOR 1)
set(SABER_VERSION_MINOR 0)
set(SABER_VERSION_PATCH 1)
set(SABER_VERSION_PATCH 2)
set(SABER_VERSION_STRING ${SABER_VERSION_MAJOR}.${SABER_VERSION_MINOR}.${SABER_VERSION_PATCH})

function(exclude OUTPUT INPUT)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ Saber只支持Linux,FreeBSD等类Unix平台,不支持Windows平台。以下
## 编译依赖
* LevelDB v1.3及以上版本
* Protobuf v3.0.0及以上版本
* Voyager v1.0.1及以上版本
* Skywalker v1.0.1及以上版本
* Voyager v1.0.2及以上版本
* Skywalker v1.0.2及以上版本

## 编译安装
(1) LevelDB编译安装(https://github.com/google/leveldb/blob/master/README.md)
Expand Down
2 changes: 1 addition & 1 deletion saber/public/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#define SABER_MAJOR_VERSION 1
#define SABER_MINOR_VERSION 0
#define SABER_PATCH_VERSION 1
#define SABER_PATCH_VERSION 2

// SABER_VERSION_SUFFIX is non-empty for pre-releases (e.g. "-alpha",
// "-alpha.1",
Expand Down
10 changes: 4 additions & 6 deletions saber/util/runloop_thread.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,10 @@ RunLoopThread::~RunLoopThread() {

RunLoop* RunLoopThread::Loop() {
assert(!thread_.Started());
if (!thread_.Started()) {
thread_.Start(&RunLoopThread::StartRunLoop, this);
MutexLock lock(&mu_);
while (loop_ == nullptr) {
cond_.Wait();
}
thread_.Start(&RunLoopThread::StartRunLoop, this);
MutexLock lock(&mu_);
while (loop_ == nullptr) {
cond_.Wait();
}
return loop_;
}
Expand Down

0 comments on commit f12929e

Please sign in to comment.