GetThreadHandicap

Gets the number of context switches a thread is delayed before being rescheduled

Local Servers:nonblocking
Remote Servers:N/A
Classification:4.x, 5.x, 6.x
Service:Thread

Syntax

  #include <nwthread.h>  
   
  LONG GetThreadHandicap  (  
     int   threadID); 
  

Parameters

threadID
(IN) Specifies a thread ID.

Return Values

This function returns the current handicap for the specified thread.

Remarks

A context switch is the task switching enacted by the OS when swapping the current thread.

See Also

ThreadSwitchWithDelay