e_wakeup_w_sig Kernel Service

Purpose

Posts a signal to sleeping kernel threads.

Syntax

#include <sys/sleep.h>

void e_wakeup_w_sig ( event_word,  sig)
tid_t *event_word;
int sig;

Parameters

Item Description
event_word Specifies the shared event word. The kernel uses the event_word parameter as the anchor to the list of threads waiting on this shared event.
sig Specifies the signal number to post.

Description

The e_wakeup_w_sig kernel service posts the signal sig to each kernel thread sleeping interruptible on the event list anchored by the event_word parameter.

The e_wakeup_w_sig kernel service has no return values.

Execution Environment

The e_wakeup_w_sig kernel service can be called from either the process environment or the interrupt environment.