Linux C编程--线程操作3--线程属性解析
来源:互联网 发布:php求数组中的最大值 编辑:程序博客网 时间:2024/05/02 00:13
线程属性结构如下:
typedef struct
{
int detachstate; 线程的分离状态
int schedpolicy; 线程调度策略
struct sched_param schedparam; 线程的调度参数
int inheritsched; 线程的继承性
int scope; 线程的作用域