_lwp_wakeup(2) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
_LWP_WAKEUP(2)            NetBSD 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 ker- nel.
RETURN VALUES

ERRORS
_lwp_wakeup() will fail if: [ESRCH] No LWP can be found in the current process correspond- ing 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. NetBSD 10.99 December 4, 2022 NetBSD 10.99
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.