Pthreadsߣ手册页确实涵盖的内容并不多;我在哪里可以找到更多信息?

发布于 2024-09-07 09:58:34 字数 512 浏览 3 评论 0原文

pthread_* 联机帮助页在很多方面都非常非常稀疏;例如,据我所知,各种 pthread_attr_set* 完全没有记录 - 也就是说,我无法弄清楚每种不同类型的属性 >实际上做到了

除了手册页之外,我发现的唯一有用的信息来源是著名的 pthreads 教程 和 pthreads-win32 文档......在这种特殊情况下都没有帮助,并且还有很多其他的。

除了深入研究开源实现(这很可能超出我的能力范围)之外,我还能从哪里获取有关 pthread 的各种功能实际用途的信息呢?

The pthread_* manpages are really, really sparse in lots of areas; for instance, for all I can tell, the various pthread_attr_set* are completely undocumented — that is, I can’t figure out what each of the various types of attributes actually do!

The only other useful sources of information I’ve found, than the manpages, are the famous pthreads tutorial and pthreads-win32 documentation… neither of which helps in this particular case, and many others.

Where else can I go for information about what pthreads’ various functions actually do, short of digging into an open-source implementation (which is quite likely over my head)?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

甜心 2024-09-14 09:58:34

也许 POSIX 线程的实际规范会有帮助?

http://www.opengroup.org/onlinepubs/000095399/functions/xsh_chap02_09。 我通常

发现,如果我想知道某些东西在 POSIX 领域如何工作,直接查看规范是最简单的。

Perhaps the actual spec for POSIX threads would help?

http://www.opengroup.org/onlinepubs/000095399/functions/xsh_chap02_09.html

I've generally found that if I want to know how something works in POSIX-land, it's easiest to go straight to the spec.

别靠近我心 2024-09-14 09:58:34

我发现 https://computing.llnl.gov/tutorials/pthreads/ 非常有帮助,因为出色地。

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文