![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=1738885106-4olG5yeQcLQq93hlkezp3kNxjBmH7QRW-0-6de4ed05319d0b318570dd8b80de7e09)
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.