As WiredTiger evaluates switching to the C/C++ 11 memory model, it is worth playing with a few concurrent applications written using the various consistency modes. The objective is to both learn to write code in the model and also create resources for the team to learn as well.
The ticket owner can decide what would be the best applications to write. I can think of the following test as a good starting point:
test/csuite/wt10461_skip_list_stress
Another area to explore would be using different APIs to write the applications. Namely,. how would an example look like if written with:
- GCC builtins or clang
- Using stdatomic.h with a C compiler, also optionally using stdatomic.h but as a C subset of C++ compiler.
- Using std::atomic library with a C++ compiler
This ticket can also be divided into multiple tickets or refined further before the work starts.