There are no direct tests for the C implementation of atomic operations, since these are extensively tested via the C++ wrappers. See files atomic_tests.h and atomic_tests.cc in folder embb\base_cpp\test.
This test should test the try_lock for writing and assumed that it would always succeed if there is only one writer and multiple readers. However, this assumption was wrong. The documentation has already been adapted and committed before. EMBB-453
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
README.txt | Loading commit data... | |
alloc_test.cc | Loading commit data... | |
alloc_test.h | Loading commit data... | |
condition_var_test.cc | Loading commit data... | |
condition_var_test.h | Loading commit data... | |
core_set_test.cc | Loading commit data... | |
core_set_test.h | Loading commit data... | |
counter_test.cc | Loading commit data... | |
counter_test.h | Loading commit data... | |
duration_test.cc | Loading commit data... | |
duration_test.h | Loading commit data... | |
main.cc | Loading commit data... | |
mutex_test.cc | Loading commit data... | |
mutex_test.h | Loading commit data... | |
shared_mutex_test.cc | Loading commit data... | |
shared_mutex_test.h | Loading commit data... | |
thread_index_test.cc | Loading commit data... | |
thread_index_test.h | Loading commit data... | |
thread_specific_storage_test.cc | Loading commit data... | |
thread_specific_storage_test.h | Loading commit data... | |
thread_test.cc | Loading commit data... | |
thread_test.h | Loading commit data... | |
time_test.cc | Loading commit data... | |
time_test.h | Loading commit data... |
There are no direct tests for the C implementation of atomic operations, since these are extensively tested via the C++ wrappers. See files atomic_tests.h and atomic_tests.cc in folder embb\base_cpp\test.