Print this page
10057 Man page misspellings ouput particuliar overriden
Reviewed by: Gergő Mihály Doma <domag02@gmail.com>


 509 
 510 .sp
 511 .ne 2
 512 .na
 513 \fB\fBlgrp_affinity_set\fR($\fIidtype\fR, $\fIid\fR, $\fIlgrp\fR,
 514 $\fIaffinity\fR)\fR
 515 .ad
 516 .sp .6
 517 .RS 4n
 518 This function sets the affinity that the LWP or set of LWPs specified by
 519 $\fIidtype\fR and $\fIid\fR have for the given lgroup. The lgroup affinity can
 520 be set to \fBLGRP_AFF_STRONG\fR, \fBLGRP_AFF_WEAK\fR, or \fBLGRP_AFF_NONE\fR.
 521 .sp
 522 If the $\fIidtype\fR is \fBP_PID\fR, the affinity is retrieved for one of the
 523 LWPs in the process or set for all the LWPs of the process with process ID
 524 (PID) $\fIid\fR. The affinity is retrieved or set for the LWP of the current
 525 process with LWP ID $\fIid\fR if $\fIidtype\fR is \fBP_LWPID\fR. If $\fIid\fR
 526 is \fBP_MYID\fR, then the current LWP or process is specified.
 527 .sp
 528 There are different levels of affinity that can be specified by a thread for a
 529 particuliar lgroup. The levels of affinity are the following from strongest to
 530 weakest:
 531 .sp
 532 .ne 2
 533 .na
 534 \fB\fBLGRP_AFF_STRONG\fR\fR
 535 .ad
 536 .RS 19n
 537 strong affinity
 538 .RE
 539 
 540 .sp
 541 .ne 2
 542 .na
 543 \fB\fBLGRP_AFF_WEAK\fR\fR
 544 .ad
 545 .RS 19n
 546 weak affinity
 547 .RE
 548 
 549 .sp




 509 
 510 .sp
 511 .ne 2
 512 .na
 513 \fB\fBlgrp_affinity_set\fR($\fIidtype\fR, $\fIid\fR, $\fIlgrp\fR,
 514 $\fIaffinity\fR)\fR
 515 .ad
 516 .sp .6
 517 .RS 4n
 518 This function sets the affinity that the LWP or set of LWPs specified by
 519 $\fIidtype\fR and $\fIid\fR have for the given lgroup. The lgroup affinity can
 520 be set to \fBLGRP_AFF_STRONG\fR, \fBLGRP_AFF_WEAK\fR, or \fBLGRP_AFF_NONE\fR.
 521 .sp
 522 If the $\fIidtype\fR is \fBP_PID\fR, the affinity is retrieved for one of the
 523 LWPs in the process or set for all the LWPs of the process with process ID
 524 (PID) $\fIid\fR. The affinity is retrieved or set for the LWP of the current
 525 process with LWP ID $\fIid\fR if $\fIidtype\fR is \fBP_LWPID\fR. If $\fIid\fR
 526 is \fBP_MYID\fR, then the current LWP or process is specified.
 527 .sp
 528 There are different levels of affinity that can be specified by a thread for a
 529 particular lgroup. The levels of affinity are the following from strongest to
 530 weakest:
 531 .sp
 532 .ne 2
 533 .na
 534 \fB\fBLGRP_AFF_STRONG\fR\fR
 535 .ad
 536 .RS 19n
 537 strong affinity
 538 .RE
 539 
 540 .sp
 541 .ne 2
 542 .na
 543 \fB\fBLGRP_AFF_WEAK\fR\fR
 544 .ad
 545 .RS 19n
 546 weak affinity
 547 .RE
 548 
 549 .sp