_lwp_continue(2)


_lwp_continue -- continue LWP execution

Synopsis

   #include <sys/types.h>
   #include <sys/lwp.h>
   

int _lwp_continue(lwpid_t target_LWP);

Parameters


target_LWP
LWP ID of the lightweight process to be continued

Description

_lwp_continue removes the execution prohibition from target_LWP, permitting execution to continue if possible.

Return values

_lwp_continue returns zero for success, and an error number for failure, as described below.

Errors

If any of the following conditions is detected, _lwp_continue returns the corresponding value:

ESRCH
No LWP can be found in the current process with identity target_LWP.

References

_lwp_create(2), _lwp_suspend(2)

Notices

Lightweight processes (LWPs) are internal interfaces and are subject to change. Their use should be avoided.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004