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 (); }
|
||||
private:
|
||||
boost::detail::spinlock l;
|
||||
|
||||
/* prevent copy construction */
|
||||
spinlock_t (const spinlock_t&);
|
||||
};
|
||||
|
||||
/* RAII wrapper */
|
||||
|
|
Loading…
Reference in New Issue
Block a user