Files
rippled/db
Igor Canadi ddafceb6c2 Better port::Mutex::AssertHeld() and AssertNotHeld()
Summary:
Using ThreadLocalPtr as a flag to determine if a mutex is locked or not enables us to implement AssertNotHeld(). It also makes AssertHeld() actually correct.

I had to remove port::Mutex as a dependency for util/thread_local.h, but that's fine since we can just use std::mutex :)

Test Plan: make check

Reviewers: ljin, dhruba, haobo, sdong, yhchiang

Reviewed By: ljin

CC: leveldb

Differential Revision: https://reviews.facebook.net/D18171
2014-04-22 17:26:21 -07:00
..
2014-04-09 21:17:14 -07:00
2014-04-15 13:39:26 -07:00
2014-04-16 15:15:22 -07:00
2014-03-12 09:56:53 -07:00
2014-04-15 13:39:26 -07:00
2014-04-14 10:48:01 -07:00
2014-04-14 10:48:01 -07:00
2014-04-15 13:39:26 -07:00
2014-04-08 10:58:07 -07:00
2014-04-16 09:09:28 -07:00
2013-10-25 08:32:14 -07:00
2014-02-28 13:19:47 -08:00
2014-01-27 14:49:10 -08:00
2014-03-14 22:44:35 +00:00
2014-04-08 10:58:07 -07:00
2014-03-14 13:02:20 -07:00
2014-04-09 21:17:14 -07:00
2014-04-15 13:39:26 -07:00
2014-01-30 22:10:10 -08:00
2014-04-17 17:25:28 -07:00
2014-04-15 13:39:26 -07:00
2014-04-15 13:39:26 -07:00
2014-04-15 13:39:26 -07:00
2014-04-15 13:39:26 -07:00