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
..
2017-02-06 14:54:18 -08:00
2016-11-21 12:24:13 -08:00
2016-11-19 14:24:12 -08:00
2017-01-20 13:24:13 -08:00
2017-01-27 17:39:16 -08:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00
2017-01-08 14:24:12 -08:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00
2017-01-08 14:24:12 -08:00
2016-11-04 12:09:22 -07:00
2017-02-06 14:54:18 -08:00
2017-01-23 12:54:13 -08:00
2017-02-06 14:54:18 -08:00
2017-01-17 13:54:20 -08:00
2017-01-03 17:54:12 -08:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00
2016-12-19 16:54:12 -08:00
2017-02-06 14:54:18 -08:00
2016-07-08 17:50:51 -07:00
2017-02-06 14:54:18 -08:00
2016-10-13 08:48:40 -07:00
2016-07-08 17:50:51 -07:00
2016-11-03 18:54:20 -07:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00
2016-12-29 15:54:19 -08:00
2016-11-19 14:24:12 -08:00
2016-09-27 18:20:57 -07:00
2016-09-27 18:20:57 -07:00
2017-02-06 14:54:18 -08:00
2016-07-13 15:36:22 -07:00
2017-02-06 14:54:18 -08:00
2016-11-21 18:09:13 -08:00