![Mastering C++ Multithreading](https://wfqqreader-1252317822.image.myqcloud.com/cover/899/36700899/b_36700899.jpg)
上QQ阅读APP看书,第一时间看更新
Windows support
It's also possible to use the POSIX APIs in a limited fashion using, for example, the following:
![](https://epubservercos.yuewen.com/6F573C/19470405908947306/epubprivate/OEBPS/Images/p5.jpg?sign=1739028564-V6F2On3E8k33Zz2cTuuNsP9sCTSoE0VT-0-a7812eacd168c69a69edb7965c6192d7)
POSIX on Windows is generally not recommended. Unless there are good reasons to use POSIX (large existing code base, for example), it's far easier to use one of the cross-platform APIs (covered later in this chapter), which smooth away any platform issues.
In the following sections, we'll look at the features offered by the Pthreads API.