projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3e92dab
)
Fixed GCC 4.8 incompatibility
author
khizmax
<libcds.dev@gmail.com>
Sun, 19 Mar 2017 20:07:36 +0000
(23:07 +0300)
committer
khizmax
<libcds.dev@gmail.com>
Sun, 19 Mar 2017 20:07:36 +0000
(23:07 +0300)
cds/urcu/dispose_thread.h
patch
|
blob
|
history
diff --git
a/cds/urcu/dispose_thread.h
b/cds/urcu/dispose_thread.h
index d97e37dd11d004c1002d6be4d5933699088a6aef..a83376ba5fa3eb19601285db0ae6e163becc6412 100644
(file)
--- a/
cds/urcu/dispose_thread.h
+++ b/
cds/urcu/dispose_thread.h
@@
-82,7
+82,7
@@
namespace cds { namespace urcu {
condvar_type m_cvDataReady;
// Task for thread (dispose cycle)
condvar_type m_cvDataReady;
// Task for thread (dispose cycle)
- atomics::atomic<buffer_type *> m_pBuffer
{ nullptr }
;
+ atomics::atomic<buffer_type *> m_pBuffer;
uint64_t m_nCurEpoch = 0;
// Quit flag
uint64_t m_nCurEpoch = 0;
// Quit flag
@@
-145,6
+145,12
@@
namespace cds { namespace urcu {
//@endcond
public: // methods called from any thread
//@endcond
public: // methods called from any thread
+ //@cond
+ dispose_thread()
+ : m_pBuffer( nullptr )
+ {}
+ //@endcond
+
/// Start reclamation thread
/**
This function is called by \ref general_threaded object to start
/// Start reclamation thread
/**
This function is called by \ref general_threaded object to start