3efc6fd641
Summary: The atomic variable "is_prepared_" was keeping Configurable objects from being copy-constructed. Removed the atomic to allow copies. Since the variable is only changed from false to true (and never back), there is no reason it had to be atomic. Added tests that simple Configurable and Customizable objects can be put on the stack and copied. Pull Request resolved: https://github.com/facebook/rocksdb/pull/8704 Reviewed By: anand1976 Differential Revision: D30530526 Pulled By: ltamasi fbshipit-source-id: 4dd4439b3e5ad7fa396573d0b25d9fb709160576 |
||
---|---|---|
.. | ||
cf_options.cc | ||
cf_options.h | ||
configurable_helper.h | ||
configurable_test.cc | ||
configurable_test.h | ||
configurable.cc | ||
customizable_test.cc | ||
customizable.cc | ||
db_options.cc | ||
db_options.h | ||
options_helper.cc | ||
options_helper.h | ||
options_parser.cc | ||
options_parser.h | ||
options_settable_test.cc | ||
options_test.cc | ||
options.cc |