- Jan 23, 2020
-
-
Igor Chorazewicz authored
using enumerable_thread_local.
-
Igor Chorazewicz authored
they will be set inside tx so we need p<>.
-
Szymon Romik authored
Implementation of insert_or_assign in concurrent_hash_map
-
Igor Chorążewicz authored
Fix regression in add_test_generic()
-
Igor Chorążewicz authored
Remove duplicated cmake scripts
-
Szymon Romik authored
Add compatibility tests (with different libpmemobj-cpp versions)
-
Szymon Romik authored
Fix tests_clang_release_cpp11_no_valgrind in run-build.sh
-
Igor Chorążewicz authored
Fix types in enumerable_thread_specific_access test
-
Igor Chorazewicz authored
On travis, without this flag rm asks for input if it should "remove write-protected regular file".
-
Igor Chorazewicz authored
-
Lukasz Dorau authored
Set CMAKE_BUILD_TYPE to Release instead of Debug.
-
Igor Chorążewicz authored
typo fixes
-
Lukasz Dorau authored
It fixes the following compilation error on openSUSE Leap: In file included from /libpmemobj-cpp/tests/enumerable_thread_specific_access/enumerable_thread_specific_access.cpp:33:0: /libpmemobj-cpp/tests/enumerable_thread_specific_access/enumerable_thread_specific_access.cpp: In function 'void test(pmem::obj::pool<root>&)': /libpmemobj-cpp/tests/enumerable_thread_specific_access/enumerable_thread_specific_access.cpp:100:19: error: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Werror=sign-conversion] UT_ASSERT(n_100 + n_zeros == concurrency); ~~~~~~^~~ /libpmemobj-cpp/tests/common/unittest.hpp:130:11: note: in definition of macro 'UT_ASSERT' ((void)((cnd) || \ ^~~ -
Lukasz Dorau authored
-
Lukasz Dorau authored
The add_test_common() function requires the TEST_CASE variable to be defined. It fixes regression introduced by b969cb5f.
-
- Jan 22, 2020
-
-
vtune authored
Insert_or_assign from std::unordered_map (since C++17) without hints, additional method with heterogeneous key-type and tests
-
Szymon Romik authored
travis: update valgrind to 3.15
-
Adam Borowski authored
Different spell checkers find different typos.
-
Adam Borowski authored
-
Szymon Romik authored
Refactor enumerable_thread_specific
-
Lukasz Dorau authored
The add_test_common() function requires the TEST_CASE variable to be defined. It fixes regression introduced by b969cb5f.
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
-
Igor Chorążewicz authored
change building behavior for gcc 4.8.5
-
Igor Chorazewicz authored
Now, thread id of each thread is also an index to persistent storage for enumerbale_thread_specific (this index is the same for all instances of enumerable_thread_specifc which certain thread uses). This change means that persistent storage can be bigger than neccesary in some cases (it must be as big as largest 'thread id + 1'). This implementation also allowed for removal of read lock in local() method. Now, it's enough to check atomic size variable and if size < thread id just return element with this index. This commit also removes local(bool) method beacuse it's not possible to tell whether certain element existed before or not.
-
Igor Chorazewicz authored
* Replace v<> with volatile_state * Use std::shared_lock and std::unique_lock instead of hand made scoped_lock * Implement custom thread_id assigning mechanism so that slots in persistent storage can be reused after a thread exited
-
Igor Chorazewicz authored
This is needed for enumerable_thread_specific tests in which we need guarantee on number of threads executing simultaneously.
-
Igor Chorazewicz authored
-
- Jan 21, 2020
-
-
Igor Chorążewicz authored
Add SCRIPT parameter to add_test_generic()
-
Igor Chorążewicz authored
detect if volatile_state is supported
-
Szymon Romik authored
force isntall containers, even if container tests are disabled
-
Szymon Romik authored
gcc 4.8.5 supports C++11 but does not support expanding variadic template in lambda expression. If you want to build libpmemobj-cpp with gcc 4.8.5 you must disable building and installing containers by setting flag ENABLE_CONTAINERS=OFF
-
Szymon Romik authored
Fix hash map erase deadlock
-
Igor Chorążewicz authored
Add doxygen comments describing namespaces
-
Igor Chorążewicz authored
Update version of PMDK in vcpkg
-
Lukasz Dorau authored
Update version of PMDK in vcpkg in order to have the defragmentation feature (change corresponding to commit bd646ca1).
-
Łukasz Stolarczuk authored
Update version of PMDK in Docker images
-
Lukasz Dorau authored
Update version of PMDK in Docker images in order to have the defragmentation feature.
-
Lukasz Dorau authored
pandoc is required by the newest PMDK.
-
Lukasz Dorau authored
It makes possible to use a cmake script from a different test and prevents from adding the same cmake script for many tests.
-