rocksdb/port/win
Lucian Petrut 172adce767 Posix threads (#6865)
Summary:
Rocksdb is using the c++11 std::threads feature. The issue is that
MINGW only supports it when using Posix threads.

This change will allow rocksdb::port::WindowsThread to be replaced
with std::thread, which in turn will allow Rocksdb to be cross
compiled using MINGW.

At the same time, we'll have to use GetCurrentProcessId instead of _getpid.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6865

Reviewed By: cheng-chang

Differential Revision: D21864285

Pulled By: ajkr

fbshipit-source-id: 0982eed313e7d34d351b1364c1ccc722da473205
2020-06-03 12:01:57 -07:00
..
env_default.cc
env_win.cc Posix threads (#6865) 2020-06-03 12:01:57 -07:00
env_win.h Add IsDirectory() to Env and FS (#6711) 2020-04-17 14:39:18 -07:00
io_win.cc
io_win.h
port_win.cc Be able to decrease background thread's CPU priority when creating database backup (#6602) 2020-03-28 19:07:25 -07:00
port_win.h Posix threads (#6865) 2020-06-03 12:01:57 -07:00
win_jemalloc.cc
win_logger.cc
win_logger.h
win_thread.cc
win_thread.h
xpress_win.cc
xpress_win.h