Linux Thread, Posix
来源:互联网 发布:super 在java中的用途 编辑:程序博客网 时间:2024/04/28 07:38
在 Advanced Programming in the Unix Environment, 3rd Edition 中,在 2.2.3 The Single UNIX Specification 中有 "Figure 2.5 POSIX.1 optional interface groups and codes
" ,其中有一些 "Symbolic constant" 的定义,例如:
" ,其中有一些 "Symbolic constant" 的定义,例如:
_POSIX_THREAD_ATTR_STACKSIZE、
_POSIX_THREAD_ATTR_STACKADDR 等,
在 "/usr/include/" 目录下,用"sudo grep "_POSIX_THREAD_ATTR_STACKSIZE" * -R"命令搜索,搜索到两个文件:
unistd.h: _POSIX_THREAD_ATTR_STACKSIZE Thread stack size attribute option supported.
x86_64-linux-gnu/bits/posix_opt.h:#define _POSIX_THREAD_ATTR_STACKSIZE 200809L
x86_64-linux-gnu/bits/posix_opt.h:#define _POSIX_THREAD_ATTR_STACKSIZE 200809L
这些"Symbolic constant"可以直接在代码中使用,与使用自定义的宏相同;
0 0
- Linux Posix Thread Programming
- Linux Posix Thread Programming
- Linux Thread, Posix
- linux的线程(posix thread)
- POSIX thread
- posix thread
- apue thread posix thread posix线程相关
- YoLinux Tutorial: POSIX thread
- POSIX Thread相关
- pthread_mutexattr --POSIX THREAD
- POSIX thread (pthread) 简介
- POSIX thread (pthread) libraries
- POSIX thread (pthread) libraries
- POSIX thread (pthread) 简介
- POSIX thread (pthread) libraries
- POSIX thread API
- POSIX thread (pthread) libraries
- Posix thread 多线程编程
- 项目开发——开头篇
- 4 第四天【健身】
- Java基础知识(二)
- java基础课程(三)--基本程序设计
- DCT变换
- Linux Thread, Posix
- 约瑟夫环
- 【呆子谈产品】:做产品的首要前提是要贴近人心
- vim配置
- Grid Control Agent无法配置成功的案例分享
- java枚举
- Unobtrusive JavaScript介绍
- 两个有用的minicom命令
- Java基础知识(三)——数组