Prevent spinlock copy construction
This commit is contained in:
parent
d00650c2fd
commit
63fee3b0c8
@ -41,6 +41,9 @@ public:
|
|||||||
bool try_lock () { return l.try_lock (); }
|
bool try_lock () { return l.try_lock (); }
|
||||||
private:
|
private:
|
||||||
boost::detail::spinlock l;
|
boost::detail::spinlock l;
|
||||||
|
|
||||||
|
/* prevent copy construction */
|
||||||
|
spinlock_t (const spinlock_t&);
|
||||||
};
|
};
|
||||||
|
|
||||||
/* RAII wrapper */
|
/* RAII wrapper */
|
||||||
|
Loading…
Reference in New Issue
Block a user