POSIX 表示可移植操作系统接口(Portable Operating System Interface ,缩写为 POSIX 是为了读音更像 UNIX)。
电气和电子工程师协会(Institute of Electrical and Electronics Engineers,IEEE)最初开发 POSIX 标准,是为了提高 UNIX 环境下应用程序的可移植性。具体的说 POSIX 是 IEEE 为要在各种 UNIX 操作系统上运行的软件定义 API 所规定的一系列互相关联的标准的总称,而 X 则表明其对
Unix API 的传承。
Linux 基本上逐步实现了 POSIX 兼容,但并没有参加正式的 POSIX 认证。当前的 POSIX 文档分为三个部分:POSIX Kernel API,POSIX 命令和工具集,及 POSIX 一致性测试。Posix 线程(POSIX threads,又称 Pthreads)是负责 POSIX 的 IEEE 委员会开发的一套线程接口。
PThread和OpenMP的关系:
当运行在更多处理器可用的平台上时,使用这些 API 编写的软件如何扩充线程的数量?一种方法一直是使用线程池(threading pool),其中在程序启动时创建一束线程,将工作分配到线程上。然而,这种方法需要相当多的线程指定代码,而且不能保证能够随着可用处理器的数量而合理地进行扩充。通过
OpenMP,不需要指定数量。OpenMP 非常方便,因为它不会将软件锁定在事先设定的线程数量中。
参考: http://www.ibm.com/developerworks/cn/linux/theme/posix_thread/
http://software.intel.com/zh-cn/articles/threading-models-for-high-performance-computing-pthreads-or-openmp
分享到:
相关推荐
pthread编程指南,介绍关于PTHREAD的编程,在Linux下的应用。。
个人学习Linux POSIX Pthread 中遇到的线程函数总结成doc文档!
POSIX Pthread 编程资料大全
此文档是POSIX标准最新文档HTML版,UNIX/LINUX系统编程和实现必备手册。 The Open Group Base Specifications Issue 7, 2018 edition IEEE Std 1003.1-2017 (Revision of IEEE Std 1003.1-2008)
Draft Standard for Information Technology—Portable Operating System Interface
里面有详细的linux/unix的所有API与接口函数,这里可以查找很多你想用的东西
最新版免费 POSIX 标准文档,下载即用.POSIX表示可移植操作系统接口(Portable Operating System Interface of UNIX,缩写为 POSIX ),POSIX标准定义了操作系统应该为应用程序提供的接口标准,是IEEE为要在各种UNIX...
POSIX标准的个人版,来自opengroup.org。
资源中包含zthread库2.3.1版本源码和在windows平台上编译和使用需要的posix pthread库的lib,dll以及三个.h文件
详见: https://www.sourceware.org/pthreads-win32/
posix pthread实现的多线程同步工具源代码,包括两个: 1. barrier 等待所有线程进入同一状态。 2. rwlock 读写锁。 <<Posix 多线程编程>>
POSIX标准文档,压缩包中包含以下文件: 《POSIX Base Definitions》 《POSIX Base Specifications, Issue 7》 《POSIX Rationale (Informative)》 《POSIX Realtime and Embedded Application Support》 《POSIX ...
该文档详细叙述了POSIX标准,同学们可以参照
最新线上文档连接:https://pubs.opengroup.org/onlinepubs/9699919799/nframe.html
Pthreads-win32 currently implements a large subset of the POSIX standard threads related API.
POSIX Base Definitions;POSIX Base Specifications, Issue 7;POSIX Rationale (Informative);POSIX® Realtime and Emeded Application Support;POSIX® Shell and Utilities;POSIX System Interfaces;POSIX ...
POSIX 标准 2009版 Information technology - Portable Operating System Interface (POSIX) Operating System Interface
自己制作的资料,pthread 多线程程序设计 中文版
posix标准的第四部分,基本原理。包括5个部分: A: base definitions B: system interfaces C: shell and utilities D: protabilty Considerations E: subprofiling considerations 350页。 本部分提供了比一般书籍...
POSIX标准文档,网页版