projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdce31d
)
Fix pool_monitor ctor
author
khizmax
<khizmax@gmail.com>
Tue, 10 Mar 2015 13:39:59 +0000
(16:39 +0300)
committer
khizmax
<khizmax@gmail.com>
Tue, 10 Mar 2015 13:39:59 +0000
(16:39 +0300)
cds/sync/pool_monitor.h
patch
|
blob
|
history
diff --git
a/cds/sync/pool_monitor.h
b/cds/sync/pool_monitor.h
index 8045a59b4e789f73e7081e65d17281b77558895b..9b6b1926e37b1a7546e614e5741bd246e81aaee4 100644
(file)
--- a/
cds/sync/pool_monitor.h
+++ b/
cds/sync/pool_monitor.h
@@
-143,7
+143,7
@@
namespace cds { namespace sync {
/// Initializes the pool of \p nPoolCapacity preallocated mutexes
pool_monitor( size_t nPoolCapacity )
- : m_Pool( nPoolCapacity)
+ : m_Pool( nPoolCapacity
? nPoolCapacity : 256
)
{}
/// Makes exclusive access to node \p p