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

  man pages->Tru64 Unix man pages -> nsg_destroy (3)              



NAME    [Toc]    [Back]

       nsg_destroy  -  Destroys  a NUMA Scheduling Group (libnuma

SYNOPSIS    [Toc]    [Back]

       #include <numa.h>

       int nsg_destroy(
               nsgid_t nsg );

PARAMETERS    [Toc]    [Back]

       Specifies the NUMA Scheduling Group (NSG).

DESCRIPTION    [Toc]    [Back]

       Remove the NSG identified by nsg and deallocate associated
       structures.  If  the  NSG is currently non-empty, existing
       members are removed before deleting the NSG.

RESTRICTIONS    [Toc]    [Back]

       The effective user ID of the calling process must be equal
       to the value of nsg_perm.cuid or nsg_perm.uid in the associated
 nsgid_ds structure, or  the  calling  process  must
       have write permissions to the NSG.

RETURN VALUES    [Toc]    [Back]

       Success. In this case, the NSG was successfully destroyed.
       Failure. The NSG was not destroyed and  errno  is  set  to
       indicate the error.

ERRORS    [Toc]    [Back]

       If  the nsg_destroy() function fails, it sets errno to one
       of the following values for the specified  condition:  The
       calling  process  does not have write permission.  The nsg
       argument does not specify a valid NSG ID.

SEE ALSO    [Toc]    [Back]

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

       Files: numa_types(4)

[ Back ]
 Similar pages
Name OS Title
nsg_init Tru64 Look up or create a NUMA Scheduling Group (libnuma library)
nsg_get Tru64 Query status of a NUMA Scheduling Group (libnuma library)
nsg_set Tru64 Set NUMA Scheduling Group owner and permissions (libnuma 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)
nsg_get_nsgs Tru64 Returns a list NUMA Scheduling Groups (libnuma library)
numa_scheduling_groups Tru64 HP Tru64 UNIX NUMA Scheduling Groups description (libnuma library)
nsg_get_pids Tru64 Return a list of a NUMA Scheduling Group's process identifiers (libnuma library)
pthread_nsg_get Tru64 Gets the list of threads in a NUMA Scheduling Group (libpthread library)
pthread_nsg_attach Tru64 Attaches a thread to a NUMA Scheduling Group (libpthread library)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service