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


 350              lgrp_version(LGRP_VER_CURRENT) == LGRP_VER_CURRENT or
 351                  die("Built with unsupported lgroup interface");
 352 
 353            See lgrp_version(3LGRP) for more information.
 354 
 355 
 356        lgrp_affinity_set($idtype, $id, $lgrp, $affinity)
 357 
 358            This function sets the affinity that the LWP or set of LWPs
 359            specified by $idtype and $id have for the given lgroup. The lgroup
 360            affinity can be set to LGRP_AFF_STRONG, LGRP_AFF_WEAK, or
 361            LGRP_AFF_NONE.
 362 
 363            If the $idtype is P_PID, the affinity is retrieved for one of the
 364            LWPs in the process or set for all the LWPs of the process with
 365            process ID (PID) $id. The affinity is retrieved or set for the LWP
 366            of the current process with LWP ID $id if $idtype is P_LWPID. If
 367            $id is P_MYID, then the current LWP or process is specified.
 368 
 369            There are different levels of affinity that can be specified by a
 370            thread for a particuliar lgroup. The levels of affinity are the
 371            following from strongest to weakest:
 372 
 373            LGRP_AFF_STRONG
 374                               strong affinity
 375 
 376 
 377            LGRP_AFF_WEAK
 378                               weak affinity
 379 
 380 
 381            LGRP_AFF_NONE
 382                               no affinity
 383 
 384            Upon successful completion, lgrp_affinity_set() returns 1.
 385            Otherwise, it returns undef and set $! to indicate the error.
 386 
 387            See lgrp_affinity_set(3LGRP) for more information.
 388 
 389 
 390        lgrp_affinity_get($idtype, $id, $lgrp)




 350              lgrp_version(LGRP_VER_CURRENT) == LGRP_VER_CURRENT or
 351                  die("Built with unsupported lgroup interface");
 352 
 353            See lgrp_version(3LGRP) for more information.
 354 
 355 
 356        lgrp_affinity_set($idtype, $id, $lgrp, $affinity)
 357 
 358            This function sets the affinity that the LWP or set of LWPs
 359            specified by $idtype and $id have for the given lgroup. The lgroup
 360            affinity can be set to LGRP_AFF_STRONG, LGRP_AFF_WEAK, or
 361            LGRP_AFF_NONE.
 362 
 363            If the $idtype is P_PID, the affinity is retrieved for one of the
 364            LWPs in the process or set for all the LWPs of the process with
 365            process ID (PID) $id. The affinity is retrieved or set for the LWP
 366            of the current process with LWP ID $id if $idtype is P_LWPID. If
 367            $id is P_MYID, then the current LWP or process is specified.
 368 
 369            There are different levels of affinity that can be specified by a
 370            thread for a particular lgroup. The levels of affinity are the
 371            following from strongest to weakest:
 372 
 373            LGRP_AFF_STRONG
 374                               strong affinity
 375 
 376 
 377            LGRP_AFF_WEAK
 378                               weak affinity
 379 
 380 
 381            LGRP_AFF_NONE
 382                               no affinity
 383 
 384            Upon successful completion, lgrp_affinity_set() returns 1.
 385            Otherwise, it returns undef and set $! to indicate the error.
 386 
 387            See lgrp_affinity_set(3LGRP) for more information.
 388 
 389 
 390        lgrp_affinity_get($idtype, $id, $lgrp)