rocksdb/port/win
Lucian Petrut 390c5246d2 Allow using WindowsThread with Mingw (#8108)
Summary:
Allow using WindowsThread with Mingw

Most Mingw builds require Posix threads in order to use std::thread.
As per https://github.com/facebook/rocksdb/issues/7764, this is not always the case.

That being considered, we're going to improve the Mingw thread model
checks.

Closes: https://github.com/facebook/rocksdb/issues/7764
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>

Pull Request resolved: https://github.com/facebook/rocksdb/pull/8108

Reviewed By: jay-zhuang

Differential Revision: D27365778

Pulled By: mrambacher

fbshipit-source-id: 2c15b1f04ae90e1e3a25a33e86ceb779224a9529
2021-06-29 06:52:08 -07:00
..
env_default.cc Create a CustomEnv class; Add WinFileSystem; Make LegacyFileSystemWrapper private (#7703) 2021-01-06 10:49:32 -08:00
env_win.cc Allow using WindowsThread with Mingw (#8108) 2021-06-29 06:52:08 -07:00
env_win.h Allow using WindowsThread with Mingw (#8108) 2021-06-29 06:52:08 -07:00
io_win.cc Refactor kill point (#8241) 2021-05-05 15:50:29 -07:00
io_win.h Use thread-safe `strerror_r()` to get error message (#8087) 2021-03-24 23:07:27 -07:00
port_win.cc Fix MSVC-related build issues (#7439) 2020-10-01 09:23:04 -07:00
port_win.h Fix Windows strcmp for Unicode (#8190) 2021-04-16 12:11:16 -07:00
win_jemalloc.cc build: make it compile with @mode/win (#7406) 2020-09-23 12:55:54 -07:00
win_logger.cc Use SystemClock* instead of std::shared_ptr<SystemClock> in lower level routines (#8033) 2021-03-15 04:34:11 -07:00
win_logger.h Use SystemClock* instead of std::shared_ptr<SystemClock> in lower level routines (#8033) 2021-03-15 04:34:11 -07:00
win_thread.cc Allow using WindowsThread with Mingw (#8108) 2021-06-29 06:52:08 -07:00
win_thread.h Allow using WindowsThread with Mingw (#8108) 2021-06-29 06:52:08 -07:00
xpress_win.cc Introduce a helper method UncompressData (#7434) 2020-09-25 09:01:45 -07:00
xpress_win.h Introduce a helper method UncompressData (#7434) 2020-09-25 09:01:45 -07:00