Skip to content

Commit

Permalink
[docs] Defined a reason to use C++11 on Windows
Browse files Browse the repository at this point in the history
instead of pthreads port.
  • Loading branch information
maxsharabayko committed Sep 30, 2022
1 parent 345517b commit 0f49f1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/build/build-win.md
Expand Up @@ -67,7 +67,8 @@ SRT as of v1.4.2 supports two threading libraries:

The `pthreads` library is provided out-of-the-box on all POSIX-based systems.
On Windows it can be provided as a 3rd party library (see below).
However the C++ standard thread library is recommended to be used on Windows.
However, using pthread wrapper on Windows comes with limitations, e.g. converting time from POSIX-based to Windows-based might loose precision, monotonic clock implementation eventually uses wall clock, etc.
**The C++11 standard thread library is recommended to be used on Windows.**

### 1.3. Package Managers

Expand Down

0 comments on commit 0f49f1c

Please sign in to comment.