pthread_nsg_detach(3)pthread_nsg_detach(3)NAMEpthread_nsg_detach - Detaches a thread from a NUMA Scheduling Group
(libpthread library)
SYNOPSIS
#include <numa.h>
int pthread_nsg_detach(
pthread_t thread );
PARAMETERS
Identifies the thread to detach from a NUMA Scheduling Group (NSG).
DESCRIPTION
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
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
None.
SEE ALSO
Functions: nsg_attach_pid(3), nsg_get(3), numa_intro(3)
Files: numa_types(4)pthread_nsg_detach(3)