commit | 2d3e27009e664c6ffc8a907b97c92b47126497e7 | [log] [tgz] |
---|---|---|
author | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Mon Oct 15 14:18:05 2012 -0700 |
committer | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Mon Oct 15 14:18:05 2012 -0700 |
tree | e92d7c7e854d607a6ea377eae6b5de7ef6dd431f | |
parent | e76176794470b39d1246748e2f0aac7a7dc5384e [diff] [blame] |
limit the scope of m_stateMutex
diff --git a/include/sync-logic.h b/include/sync-logic.h index 7108054..34b2e79 100644 --- a/include/sync-logic.h +++ b/include/sync-logic.h
@@ -165,6 +165,10 @@ sendSyncData (const std::string &name, DigestConstPtr digest, StateConstPtr state); + void + sendSyncData (const std::string &name, + DigestConstPtr digest, SyncStateMsg &msg); + size_t getNumberOfBranches () const;