NXThreadGetBinding

Returns the CPU binding information for the calling thread.

Library:LibC
Classification:NKS
Service:Threads

Syntax

  #include <nks/thread.h> 
   
  NXCpuId_t NXThreadGetBinding ( void );
  

Return Values

Returns either NX_THR_UNBOUND (for an unbound thread) or the ID (starting at zero) of the CPU to which the thread is bound.

See Also