Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 237941 | Differences between
and this patch

Collapse All | Expand All

(-)a/libs/owutil/thread/RecursiveMutex.h (+3 lines)
Lines 21-26 Link Here
21
#define OWRECURSIVEMUTEX_H
21
#define OWRECURSIVEMUTEX_H
22
22
23
#include <boost/thread/recursive_mutex.hpp>
23
#include <boost/thread/recursive_mutex.hpp>
24
#include <boost/version.hpp>
24
25
25
/**
26
/**
26
 * Recursive Mutex helper for Boost.
27
 * Recursive Mutex helper for Boost.
Lines 33-38 Link Here
33
34
34
	typedef scoped_lock ScopedLock;
35
	typedef scoped_lock ScopedLock;
35
36
37
#if BOOST_VERSION < 103500
36
	void lock() {
38
	void lock() {
37
		boost::detail::thread::lock_ops<boost::recursive_mutex>::lock(*this);
39
		boost::detail::thread::lock_ops<boost::recursive_mutex>::lock(*this);
38
	}
40
	}
Lines 40-45 Link Here
40
	void unlock() {
42
	void unlock() {
41
		boost::detail::thread::lock_ops<boost::recursive_mutex>::unlock(*this);
43
		boost::detail::thread::lock_ops<boost::recursive_mutex>::unlock(*this);
42
	}
44
	}
45
#endif
43
46
44
};
47
};
45
48

Return to bug 237941