Comments (4)
Can you provide your main.cpp?
Or any usecase with that error.
from libcds.
If it matters, here is the beginning of main.cpp:
#include <string>
#include <sstream>
#include <unistd.h>
#include "fcgio.h"
#include "pqxx/pqxx"
#include <regex>
#include <algorithm>
#include <ctime>
#include <unordered_map>
#include "cds/opt/hash.h"
#include "cds/container/michael_list_hp.h"
#include "cds/container/split_list_map.h"
namespace cc = cds::container;
using namespace std;
const size_t TIMEOUT = 15*60; //seconds after which the session considered completed
typedef cc::SplitListMap<
cds::gc::DHP,
string,
long,
cc::split_list::make_traits< // metafunction to build split-list traits
cc::split_list::ordered_list<cc::michael_list_tag>, // tag for underlying ordered list implementation
cc::opt::hash< std::hash<string> >, // hash functor
cc::split_list::ordered_list_traits< // ordered list traits desired
cc::michael_list::make_traits< // metafunction to build lazy list traits
cc::opt::less< std::less<string> > // less-based compare functor
>::type
>
>::type> string_int_map;
string_int_map sessions;
UPD: list of exported symbols from dylib:
nm -gU libcds.dylib
0000000000013ce0 S __ZN3cds2OS4OS_X8topology17s_nProcessorCountE
00000000000102c0 T __ZN3cds2OS4OS_X8topology4finiEv
0000000000010260 T __ZN3cds2OS4OS_X8topology4initEv
0000000000003690 T __ZN3cds2gc2hp16GarbageCollector12classic_scanEPNS1_7details9hp_recordE
00000000000040a0 T __ZN3cds2gc2hp16GarbageCollector12inplace_scanEPNS1_7details9hp_recordE
00000000000138a0 S __ZN3cds2gc2hp16GarbageCollector13m_pHZPManagerE
00000000000032b0 T __ZN3cds2gc2hp16GarbageCollector14free_hp_recordEPNS1_7details9hp_recordE
0000000000003120 T __ZN3cds2gc2hp16GarbageCollector15alloc_hp_recordEv
0000000000002d20 T __ZN3cds2gc2hp16GarbageCollector15detachAllThreadEv
0000000000002ca0 T __ZN3cds2gc2hp16GarbageCollector8DestructEb
0000000000003390 T __ZN3cds2gc2hp16GarbageCollector8HelpScanEPNS1_7details9hp_recordE
0000000000002bc0 T __ZN3cds2gc2hp16GarbageCollector9ConstructEmmmNS1_9scan_typeE
0000000000002c60 T __ZN3cds2gc2hp16GarbageCollectorC1EmmmNS1_9scan_typeE
0000000000002de0 T __ZN3cds2gc2hp16GarbageCollectorC2EmmmNS1_9scan_typeE
0000000000002dc0 T __ZN3cds2gc2hp16GarbageCollectorD1Ev
0000000000002f00 T __ZN3cds2gc2hp16GarbageCollectorD2Ev
00000000000138b8 S __ZN3cds2gc3dhp16GarbageCollector10m_pManagerE
000000000000ac00 T __ZN3cds2gc3dhp16GarbageCollector4scanEv
000000000000a9c0 T __ZN3cds2gc3dhp16GarbageCollector8DestructEv
000000000000a900 T __ZN3cds2gc3dhp16GarbageCollector9ConstructEmm
000000000000a990 T __ZN3cds2gc3dhp16GarbageCollectorC1Emm
000000000000aa30 T __ZN3cds2gc3dhp16GarbageCollectorC2Emm
000000000000aa10 T __ZN3cds2gc3dhp16GarbageCollectorD1Ev
000000000000ab70 T __ZN3cds2gc3dhp16GarbageCollectorD2Ev
0000000000005fc0 T __ZN3cds2gc7details11retired_ptr4lessERKS2_S4_
00000000000138c0 S __ZN3cds4urcu7details21gp_singleton_instanceINS0_19general_instant_tagEE6s_pRCUE
00000000000138c8 S __ZN3cds4urcu7details21gp_singleton_instanceINS0_20general_buffered_tagEE6s_pRCUE
00000000000138d0 S __ZN3cds4urcu7details21gp_singleton_instanceINS0_20general_threaded_tagEE6s_pRCUE
00000000000138d8 S __ZN3cds4urcu7details21sh_singleton_instanceINS0_19signal_buffered_tagEE6s_pRCUE
00000000000138e0 S __ZN3cds4urcu7details21sh_singleton_instanceINS0_19signal_threaded_tagEE6s_pRCUE
0000000000011b00 S __ZN3cds6memory7michael26default_sizeclass_selector12m_szClassMapE
0000000000011a00 S __ZN3cds6memory7michael26default_sizeclass_selector15m_szClassBoundsE
00000000000138f0 S __ZN3cds6memory7michael26default_sizeclass_selector9m_szClassE
000000000000f5a0 T __ZN3cds6memory7michael26default_sizeclass_selectorC1Ev
000000000000f4d0 T __ZN3cds6memory7michael26default_sizeclass_selectorC2Ev
000000000000a520 T __ZN3cds7details14fini_last_callEv
000000000000a4f0 T __ZN3cds7details15init_first_callEv
00000000000137e0 D __ZN3cds9threading10ThreadData12s_nProcCountE
00000000000138a8 S __ZN3cds9threading10ThreadData17s_nLastUsedProcNoE
00000000000137e8 S __ZN3cds9threading12gcc_internal12s_threadDataE
0000000000013800 S __ZN3cds9threading12gcc_internal13s_pThreadDataE
00000000000138b0 S __ZN3cds9threading7pthread7Manager6Holder5m_keyE
0000000000004480 T __ZNK3cds2gc2hp16GarbageCollector16getInternalStateERNS2_13InternalStateE
It is clearly seen that there are no dhp::GuardArray... symbols
P.S. Максим, как можно с тобой связаться в более интерактивном режиме?
from libcds.
Pffff, the problem just was that I simply include
#include <cds/gc/hp.h>
instead of
#include <cds/gc/dhp.h>
from libcds.
P.S. Максим, как можно с тобой связаться в более интерактивном режиме?
libcds dot dev at gmail dot com
from libcds.
Related Issues (20)
- Invalid random level in skip list with custom random level generator (the one than can return more than c_nMaxHeight)
- словил хайп
- Some questions about this library HOT 1
- Broken URL
- Is it possible to use std::atomic<> as cuckoo map value type?
- Assertion Error with FCdeque HOT 1
- Library usage HOT 2
- FeldmanHashMap find function NULL pointer HOT 3
- [Minor] readme.md evolution YouTube link broken HOT 1
- Impossible to build on visual studio (C2491 and C2720) HOT 2
- add readonly function to improve performance
- FreeBSD's ThreadId is pthread_t*
- BronsonAVLTreeMap segfaults HOT 2
- Cannot build properly on MacOS Big Sur 11.2.3 (Apple M1)
- Why KV list's update() method have no argument with Value to insert ?
- Tests fail to compile: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union, etc. HOT 1
- Benchmarks are missing
- Add support for riscv64, mips64el
- Assert failure in smr::~smr() HOT 1
- Sized delete called with incorrect size
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libcds.