|
|
@ -21,9 +21,7 @@ SyncPoint* SyncPoint::GetInstance() { |
|
|
|
|
|
|
|
|
|
|
|
SyncPoint::SyncPoint() : impl_(new Data) {} |
|
|
|
SyncPoint::SyncPoint() : impl_(new Data) {} |
|
|
|
|
|
|
|
|
|
|
|
SyncPoint:: ~SyncPoint() { |
|
|
|
SyncPoint::~SyncPoint() { delete impl_; } |
|
|
|
delete impl_; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void SyncPoint::LoadDependency(const std::vector<SyncPointPair>& dependencies) { |
|
|
|
void SyncPoint::LoadDependency(const std::vector<SyncPointPair>& dependencies) { |
|
|
|
impl_->LoadDependency(dependencies); |
|
|
|
impl_->LoadDependency(dependencies); |
|
|
@ -44,21 +42,13 @@ void SyncPoint::ClearCallBack(const std::string& point) { |
|
|
|
impl_->ClearCallBack(point); |
|
|
|
impl_->ClearCallBack(point); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void SyncPoint::ClearAllCallBacks() { |
|
|
|
void SyncPoint::ClearAllCallBacks() { impl_->ClearAllCallBacks(); } |
|
|
|
impl_->ClearAllCallBacks(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void SyncPoint::EnableProcessing() { |
|
|
|
void SyncPoint::EnableProcessing() { impl_->EnableProcessing(); } |
|
|
|
impl_->EnableProcessing(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void SyncPoint::DisableProcessing() { |
|
|
|
void SyncPoint::DisableProcessing() { impl_->DisableProcessing(); } |
|
|
|
impl_->DisableProcessing(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void SyncPoint::ClearTrace() { |
|
|
|
void SyncPoint::ClearTrace() { impl_->ClearTrace(); } |
|
|
|
impl_->ClearTrace(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void SyncPoint::Process(const Slice& point, void* cb_arg) { |
|
|
|
void SyncPoint::Process(const Slice& point, void* cb_arg) { |
|
|
|
impl_->Process(point, cb_arg); |
|
|
|
impl_->Process(point, cb_arg); |
|
|
|