Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-11-14 | Simplify CMutexLock | Alexander Kjeldaas | |
o Remove unused Leave and GetLock functions o Make Enter and TryEnter private. o Simplify Enter and TryEnter. boost::unique_lock doesn't really know whether the mutex it wraps is locked or not when the defer_lock option is used. The boost::recursive_mutex does not expose this information, so unique_lock only infers this knowledge. When taking the lock is defered, it (randomly) assumes that the lock is not taken. boost::unique_lock has the following definition: unique_lock(Mutex& m_,defer_lock_t): m(&m_),is_locked(false) {} bool owns_lock() const { return is_locked; } Thus it is a mistake to check owns_lock() in Enter and TryEnter - they will always return false. | |||
2012-09-25 | Update comment, we're no longer using boost::interprocess::scoped_lock | Wladimir J. van der Laan | |
2012-06-05 | Fix DEBUG_LOCKCONTENTION | Matt Corallo | |
2012-05-20 | Merge pull request #1354 from fanquake/master | Pieter Wuille | |
Update Header Licenses | |||
2012-05-18 | Use boost::thread locking instead of interprocess | Pieter Wuille | |
2012-05-18 | Update License in File Headers | Fordy | |
I originally created a pull to replace the "COPYING" in crypter.cpp and crypter.h, but it turned out that COPYING was actually the correct file. | |||
2012-05-11 | Split synchronization mechanisms from util.{h,cpp} | Pieter Wuille | |