上QQ阅读APP看书,第一时间看更新
Windows support
It's also possible to use the POSIX APIs in a limited fashion using, for example, the following:
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.