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