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

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

rad_detach_pid(3)

Contents


NAME    [Toc]    [Back]

       rad_detach_pid - Detach a process from a Resource Affinity
       Domain by pid (libnuma library)

SYNOPSIS    [Toc]    [Back]

       #include <numa.h>

       int rad_detach_pid(
               pid_t pid );

PARAMETERS    [Toc]    [Back]

       Specifies a process identifier (pid) to detach from a  RAD
       set.

DESCRIPTION    [Toc]    [Back]

       The  rad_detach_pid()  function  frees  a process that has
       been bound or attached to  a  RAD  through  the  functions
       rad_bind_pid()  or rad_attach_pid(), respectively.  If the
       pid argument is NULL, the call is self-directed. That  is,
       the  function behaves as if the calling process's pid were
       specified. Calling rad_detach_pid() for a process that  is
       not attached or bound is not considered to be an error.

RETURN VALUES    [Toc]    [Back]

       Success.  In  this case, rad_detach_pid() detaches the pid
       specified by pid from the RAD set.  Failure. In this case,
       errno is set to indicate the error.

ERRORS    [Toc]    [Back]

       If  the  rad_detach_pid()  function fails, errno is set to
       one of the following values  for  the  reasons  specified.
       The  process specified in pid does not exist.  The real or
       effective user ID of the caller does not match the real or
       effective  user  ID of the process pid, or the caller does
       not have appropriate privileges  to  free  processes  from
       RADs.

SEE ALSO    [Toc]    [Back]

      
      
       Functions: rad_attach_pid(3), rad_bind_pid(3)



                                                rad_detach_pid(3)
[ Back ]
 Similar pages
Name OS Title
rad_fork Tru64 Creates a new process on a Resource Affinity Domain (libnuma library)
rad_attach_pid Tru64 Attaches or binds a process to a Resource Affinity Domain by process ID (libnuma library)
rad_bind_pid Tru64 Attaches or binds a process to a Resource Affinity Domain by process ID (libnuma library)
pthread_rad_detach Tru64 Detach a thread from its Resource Affinity Domain (libpthread library)
rad_foreach Tru64 Enumerates the members of a Resource Affinity Domain (libnuma library)
rad_get_current_home Tru64 Returns the caller's home Resource Affinity Domain (libnuma library)
rad_get_info Tru64 Query resource complements of a Resource Affinity Domain (libnuma)
rad_get_max Tru64 Query resource complements of a Resource Affinity Domain (libnuma)
rad_get_state Tru64 Query resource complements of a Resource Affinity Domain (libnuma)
rad_get_physmem Tru64 Query resource complements of a Resource Affinity Domain (libnuma)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service