_lwp_wakeup(2) netbsd man page | unix.com

Man Page: _lwp_wakeup

Operating Environment: netbsd

Section: 2

_LWP_WAKEUP(2)						      BSD System Calls Manual						    _LWP_WAKEUP(2)

NAME
_lwp_wakeup -- make a blocked light-weight process runnable
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <lwp.h> int _lwp_wakeup(lwpid_t lwp);
DESCRIPTION
_lwp_wakeup() makes a blocked LWP runnable. The blocked LWP must be in LSSLEEP state. Unblocking the LWP does not guarantee that it will make progress; it may block again as soon as it resumes execution in the kernel.
RETURN VALUES
Upon successful completion, _lwp_wakeup() returns a value of 0. Otherwise, an error code is returned to indicate the error.
ERRORS
_lwp_wakeup() will fail if: [ESRCH] No LWP can be found in the current process corresponding to that specified by lwp. [ENODEV] The specified LWP is not in LSSLEEP state. [EBUSY] The specified LWP is blocked in an uninterruptible sleep.
HISTORY
The _lwp_wakeup() system call first appeared in NetBSD 2.0.
BSD
January 13, 2003 BSD
Related Man Pages
_lwp_continue(2) - opensolaris
_lwp_unpark(2) - netbsd
_lwp_unpark_all(2) - netbsd
_lwp_continue(2) - sunos
_lwp_suspend(2) - sunos
Similar Topics in the Unix Linux Community
How to install PGX32 on Sparc 10 Ultra?
NetBSD 6.1.2: apm and admd not found
RFC - Korn shell prompt
Make bold chars in UNIX
Grandpa returning to UNIX