NXThreadContinue

Continues the execution of the specified thread.

Library:LibC
Classification:NKS
Service:Threads

Syntax

  #include <nks/thread.h>
   
  int NXThreadContinue (
     NXThreadId_t   tid);
  

Parameters

tid

Specifies the ID of the target thread to continue.

Return Values

If successful, returns 0; otherwise, returns a nonzero error code:

Decimal

Hex

Constant

Description

77

0x4D

NX_ESRCH

The specified thread ID is invalid

Remarks

NXThreadContinue continues the execution of a suspended thread. If the specified thread is not suspended, NXThreadContinue has no effect.

See Also