projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
774608b
)
Replace deprecated cds::lock::scoped_lock with std::unique_lock
author
khizmax
<libcds.dev@gmail.com>
Wed, 1 Oct 2014 20:02:19 +0000
(
00:02
+0400)
committer
khizmax
<libcds.dev@gmail.com>
Wed, 1 Oct 2014 20:02:19 +0000
(
00:02
+0400)
cds/intrusive/striped_set/striping_policy.h
patch
|
blob
|
history
diff --git
a/cds/intrusive/striped_set/striping_policy.h
b/cds/intrusive/striped_set/striping_policy.h
index a70858b9ac01f04cb9f6282259c424fed99a0a2f..46333d64f398654f13accd2b3a267e772529d7a9 100644
(file)
--- a/
cds/intrusive/striped_set/striping_policy.h
+++ b/
cds/intrusive/striped_set/striping_policy.h
@@
-46,7
+46,7
@@
namespace cds { namespace intrusive { namespace striped_set {
public:
//@cond
class scoped_cell_lock {
-
cds::lock::scoped
_lock< lock_array_type > m_guard;
+
std::unique
_lock< lock_array_type > m_guard;
public:
scoped_cell_lock( striping& policy, size_t nHash )
@@
-55,7
+55,7
@@
namespace cds { namespace intrusive { namespace striped_set {
};
class scoped_full_lock {
-
cds::lock::scoped
_lock< lock_array_type > m_guard;
+
std::unique
_lock< lock_array_type > m_guard;
public:
scoped_full_lock( striping& policy )
: m_guard( policy.m_Locks )