?????????????????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??????????????????????????