*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> pthread_nsg_detach (3)              
Title
Content
Arch
Section
 

pthread_nsg_detach(3)

Contents


NAME    [Toc]    [Back]

       pthread_nsg_detach   -  Detaches  a  thread  from  a  NUMA
       Scheduling Group (libpthread library)

SYNOPSIS    [Toc]    [Back]

       #include <numa.h>

       int pthread_nsg_detach(
               pthread_t thread );

PARAMETERS    [Toc]    [Back]

       Identifies the thread to detach  from  a  NUMA  Scheduling
       Group (NSG).

DESCRIPTION    [Toc]    [Back]

       The  pthread_nsg_detach()  function  detaches  the  thread
       specified by the thread argument from the NSG to which  it
       is  attached. The function does not reassign the thread to
       a new NSG.

RETURN VALUES    [Toc]    [Back]

       Success.  Failure. In this case, the integer  value  indicates
  the type of error. Possible errors include the following:


              Based on the NSG's permissions, the caller does not
              have  execute  permission,  which  is  required  to
              detach a thread.   The  specified  thread  is  hard
              attached  (RAD_INSIST) to a RAD or has memory wired
              (locked) on its current RAD such that it cannot  be
              migrated to a common RAD selected for the NSG.  The
              value of the flags argument is invalid.  NSG_INSIST
              and  NSG_MIGRATE  were  specified and no RAD can be
              found with sufficient  memory  to  accommodate  the
              resulting  NSG.   The  thread  argument specifies a
              thread that does not exist.

ERRORS    [Toc]    [Back]

       None.

SEE ALSO    [Toc]    [Back]

      
      
       Functions: nsg_attach_pid(3), nsg_get(3), numa_intro(3)

       Files: numa_types(4)



                                            pthread_nsg_detach(3)
[ Back ]
 Similar pages
Name OS Title
pthread_nsg_attach Tru64 Attaches a thread to a NUMA Scheduling Group (libpthread library)
pthread_nsg_get Tru64 Gets the list of threads in a NUMA Scheduling Group (libpthread library)
nsg_attach_pid Tru64 Attaches a process to, or detaches a process from a NUMA Scheduling Group (libnuma library)
nsg_detach_pid Tru64 Attaches a process to, or detaches a process from a NUMA Scheduling Group (libnuma library)
pthread_rad_attach Tru64 Attaches or binds a thread to a NUMA Resource Affinity Domain (libpthread library)
pthread_rad_bind Tru64 Attaches or binds a thread to a NUMA Resource Affinity Domain (libpthread library)
nsg_destroy Tru64 Destroys a NUMA Scheduling Group (libnuma library)
nsg_init Tru64 Look up or create a NUMA Scheduling Group (libnuma library)
nsg_set Tru64 Set NUMA Scheduling Group owner and permissions (libnuma library)
nsg_get Tru64 Query status of a NUMA Scheduling Group (libnuma library)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service