|
RE: std::shared_future failed in C++
|
10/25/2018 6:13 AM
post119237
|
RE: std::shared_future failed in C++
Which C++ library are you linking against? You can check that with
# readelf -d ./testPromise
Is the code you built identical to the example?
________________________________________
From: Ilyas Hamadouche [community-noreply@qnx.com]
Sent: October-25-18 6:01 AM
To: ostech-core_os
Subject: Re: RE: std::shared_future failed in C++
Thank you for response Elad. It actually builds, but when running it stuck at fut2.wait();
The output of "pidin -p 1200146 -v" is:
pid tid name prio STATE Blocked
1200146 1 ./testPromise 10r CONDVAR (0x806c17c)
1200146 2 ./testPromise 10r CONDVAR (0x806c0bc)
1200146 3 ./testPromise 10r MUTEX (0x1002b2790) self(1200146)-02 #1
My QNX version (using uname -a):
QNX localhost 7.0.1 2018/02/06-14:30:25EST x86pc x86_64
Ilyas,
_______________________________________________
OSTech
http://community.qnx.com/sf/go/post119236
To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com
|
|
|