rocksdb/utilities/transactions
Dmitri Smirnov 0a4cdde50a Windows thread
Summary:
introduce new methods into a public threadpool interface,
- allow submission of std::functions as they allow greater flexibility.
- add Joining methods to the implementation to join scheduled and submitted jobs with
  an option to cancel jobs that did not start executing.
- Remove ugly `#ifdefs` between pthread and std implementation, make it uniform.
- introduce pimpl for a drop in replacement of the implementation
- Introduce rocksdb::port::Thread typedef which is a replacement for std::thread.  On Posix Thread defaults as before std::thread.
- Implement WindowsThread that allocates memory in a more controllable manner than windows std::thread with a replaceable implementation.
- should be no functionality changes.
Closes https://github.com/facebook/rocksdb/pull/1823

Differential Revision: D4492902

Pulled By: siying

fbshipit-source-id: c74cb11
2017-02-06 14:54:18 -08:00
..
optimistic_transaction_db_impl.cc optimistic transactions support for reinitialization 2016-03-07 19:03:09 -08:00
optimistic_transaction_db_impl.h optimistic transactions support for reinitialization 2016-03-07 19:03:09 -08:00
optimistic_transaction_impl.cc Implement non-exclusive locks 2016-12-05 17:39:17 -08:00
optimistic_transaction_impl.h Implement non-exclusive locks 2016-12-05 17:39:17 -08:00
optimistic_transaction_test.cc Windows thread 2017-02-06 14:54:18 -08:00
transaction_base.cc Implement non-exclusive locks 2016-12-05 17:39:17 -08:00
transaction_base.h Implement non-exclusive locks 2016-12-05 17:39:17 -08:00
transaction_db_impl.cc Implement non-exclusive locks 2016-12-05 17:39:17 -08:00
transaction_db_impl.h Implement non-exclusive locks 2016-12-05 17:39:17 -08:00
transaction_db_mutex_impl.cc Fix transaction locking 2016-02-16 17:15:05 -08:00
transaction_db_mutex_impl.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
transaction_impl.cc Implement non-exclusive locks 2016-12-05 17:39:17 -08:00
transaction_impl.h Implement non-exclusive locks 2016-12-05 17:39:17 -08:00
transaction_lock_mgr.cc Fix compile error in trasaction_lock_mgr.cc 2016-12-06 14:39:16 -08:00
transaction_lock_mgr.h Implement non-exclusive locks 2016-12-05 17:39:17 -08:00
transaction_test.cc Windows thread 2017-02-06 14:54:18 -08:00
transaction_util.cc Gcc-7 buffer size insufficient 2016-12-14 19:24:26 -08:00
transaction_util.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00