thr_continue

Continues the execution of the specified suspended thread.

Library:LibC
Classification:UNIX International
Service:Threads

Syntax

  #include <thread.h>
   
  int thr_continue (
     thread_t   thr);
  

Parameters

thr

Specifies the ID of the target thread to continue.

Return Values

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

Decimal

Constant

Description

9

EINVAL

The specified thread no longer exists.

77

ESRCH

The specified thread cannot be found.

Remarks

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

See Also