rocksdb/utilities/persistent_cache
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
..
block_cache_tier_file_buffer.h Persistent Read Cache (part 6) Block Cache Tier Implementation 2016-08-01 14:15:14 -07:00
block_cache_tier_file.cc Windows thread 2017-02-06 14:54:18 -08:00
block_cache_tier_file.h Windows thread 2017-02-06 14:54:18 -08:00
block_cache_tier_metadata.cc Persistent Read Cache (part 6) Block Cache Tier Implementation 2016-08-01 14:15:14 -07:00
block_cache_tier_metadata.h Persistent Read Cache (part 6) Block Cache Tier Implementation 2016-08-01 14:15:14 -07:00
block_cache_tier.cc Windows thread 2017-02-06 14:54:18 -08:00
block_cache_tier.h Windows thread 2017-02-06 14:54:18 -08:00
hash_table_bench.cc Minor fix to GFLAGS usage in persistent cache 2016-11-08 13:09:20 -08:00
hash_table_evictable.h gcc-7 requires include <functional> for std::function 2016-12-16 11:24:18 -08:00
hash_table_test.cc Add persistent cache to Windows build system 2016-06-02 17:48:25 -07:00
hash_table.h fix simple typos (#1183) 2016-06-25 08:29:40 +01:00
lrulist.h fix simple typos (#1183) 2016-06-25 08:29:40 +01:00
persistent_cache_bench.cc Windows thread 2017-02-06 14:54:18 -08:00
persistent_cache_test.cc Disable test to unblock travis build 2016-12-13 11:54:14 -08:00
persistent_cache_test.h Windows thread 2017-02-06 14:54:18 -08:00
persistent_cache_tier.cc Dump persistent cache options 2016-12-19 14:09:12 -08:00
persistent_cache_tier.h Dump persistent cache options 2016-12-19 14:09:12 -08:00
persistent_cache_util.h Persistent Read Cache (6) Persistent cache tier implentation - File layout 2016-07-19 12:01:46 -07:00
volatile_tier_impl.cc Persistent Cache: Expose stats to user via public API 2016-11-21 17:39:13 -08:00
volatile_tier_impl.h Dump persistent cache options 2016-12-19 14:09:12 -08:00