Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ServerStats should be protected against its mutex #122
Nice one, thanks @skypexu! I just pushed the change to master.
It's too bad there's a default constructor on std::unique_lock that does nothing yet doesn't look at all suspicious. This is probably a good argument for using std::lock_guard instead wherever possible. The second commit here makes those changes throughout LogCabin.
Out of curiosity:
I am learning raft, so I was reading logcabin code, and manually found
On 2015年03月27日 02:49, Diego Ongaro wrote: