Skip to content
Snippets Groups Projects
Commit 04215373 authored by Irene Y Zhang's avatar Irene Y Zhang
Browse files

fixing a bug in strong store

parent 98f0b3f9
No related branches found
No related tags found
No related merge requests found
......@@ -175,9 +175,11 @@ Client::Prepare(uint64_t &ts)
unique_lock<mutex> lk(cv_m);
Debug("Sending request to TimeStampServer");
tss->Invoke("", bind(&Client::tssCallback, this,
placeholders::_1,
placeholders::_2));
transport.Timer(0, [=]() {
tss->Invoke("", bind(&Client::tssCallback, this,
placeholders::_1,
placeholders::_2));
});
Debug("Waiting for TSS reply");
cv.wait(lk);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment