Comments (6)
We've fixed the race condition with following patch:
0001-Fixed-possible-data-race-in-ACE_Future-set-get.patch
The following code we used for testing:
acefuturetester.tar.gz
from ace_tao.
Please open a pull request with your patch add your test under ACE_wrappers/tests so that it is compiled/tested as part of our test suite
from ace_tao.
Maybe determine the max threads based on the number of cpu cores on the system and run it for some minutes, a run of 4 hours is to long for our test suite. Maybe split the PR in two, one with just the test extension, second with the fix
from ace_tao.
The test Future_Test.cpp will test this from functional point of view.
The issue can't be easily reproduced. It requires fast machines and it depends on the CPU and compiler being used.
from ace_tao.
I think it would be helpful to have the additional test be added to future_test but just do some interations and make it possible to control the amount of iterations on the commandline. What kind of CPU/compiler are required, some background information on why it happens only with some specific cpu/compiler would be helpful, it is very likely that we have more constructs like this
from ace_tao.
Looks similar to #2170
from ace_tao.
Related Issues (20)
- SSLIOP Transports are used after being cached with entry state IDLE
- ACE_Dev_Poll_Reactor avoid handle arrays and Handler_Repository size based on RLIMIT_NOFILE
- Look at replace TAO::Object is_evaluated_/object_init_lock_ members with a std::atomic_flag HOT 2
- ACE_TAO is build in gcc 6 and above not in <5 gcc HOT 6
- Issue in generating projects & solutions for VS2019 for SSL HOT 1
- Issue in implementing SSL using ImplRepoService
- `tao_idl` Will Create a Directory Each Time a `-o*` Option is Passed
- Corbaloc resolution issue when implementing SSL with Impl Repo HOT 4
- Broken links in ACE and TAO documentation.... $ACE_ROOT/TAO doesn't exist in github version. $ACE_ROOT/../TAO does HOT 1
- Does ACE_TAO support TLS 1.3? HOT 2
- [ace6tao2] Comparison warning in CDR_Base.cpp HOT 4
- Does ACE(7.0.1)+TAO(3.0.1) supports SUSE15 SP5? HOT 1
- Does ACE_TAO support TLS 1.3? HOT 1
- Segmentation fault in ACE_Dev_Poll_Reactor's destructor
- ACE_OFF_T has different type in libACE and application HOT 7
- Use std::byteswap with C++23
- Does ACE_TAO support TLS 1.3 HOT 1
- Illegal IDL union accepted by tao_idl HOT 5
- gnuace MPC template can't handle include/lib paths with spaces HOT 2
- `tao_idl` Fails when Building ACE/TAO with Spaces in Path on Windows
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 ace_tao.