Linux??????????
???????????? ???????[ 2013/12/2 10:56:24 ] ????????
?????????????????pthread_attr_t ?????? pthread.h ?????С?
//???????????£?
typedef struct
{
int etachstate; //?????????
int schedpolicy; //?????????
structsched_param schedparam; //??????????
int inheritsched; //????????
int scope; //??????????
size_t guardsize; //?????β????仺??????С
int stackaddr_set; //?????????
void* stackaddr; //??????λ??
size_t stacksize; //???????С
}pthread_attr_t;
???????????????????????????????????в????????????????pthread_attr_init???????????????pthread_create?????????á????????pthread_attr_destroy???????????????????????????????????????????scope???????磨stack size??????????stack address???????????priority?????????????detached state?????????????????scheduling policy and parameters?????????????????????????1M???????????????????????????
?????????????????scope??
?????????????????????????????Щ??????????????????????????????????????
??????????process scope???????????????????????
????????system scope?????????е??????????????????????????????????????о?????????????????????????????????????е????
????Solaris???????????? Solaris 9 ???а濪?????????????????????Χ??
?????????????????binding state??
??????????LWP??Light Weight Process???????????????浽?????????????????LWP??Light Weight Process?????????????????????????λ?????????????????????????????????????????????????????????????????????????????????
?????????
???????????£????????????????Щ?????????????Щ???????????????????????????????????
????????
??????????£????????壬????????????"??"?????????????????????????н?????????????????CPU????????????????????????????????????????????????????????????á????????????????????????????????????e??????????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11