ClusWorkerTerminate

The ClusWorkerTerminate utility function terminates a worker thread.

VOID WINAPI ClusWorkerTerminate(
  PCLUS_WORKER Worker
);
 

Parameters

Worker
[in] Pointer to a CLUS_WORKER structure describing the thread to check.

Return Values

None.

Notes to Callers

ClusWorkerTerminate checks the hThread and Terminate members of the CLUS_WORKER structure pointed to by Worker. If hThread is non-NULL and Terminate is set to FALSE, indicating that this is your first call to ClusWorkerTerminate, the function waits for the thread to exit before returning. Otherwise, if you have called ClusWorkerTerminate previously, indicated by Terminate being set to TRUE, the function may return before the thread has terminated.

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.