Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 1017 Bytes

SENDSIG.2.adoc

File metadata and controls

48 lines (37 loc) · 1017 Bytes

SENDSIG(2) Manual Page

NAME

SENDSIG - send a signal to another task

SYNOPSIS

Input
  • C=0 - set thread to sleep until it receives a signal

  • C=1 - send a signal to another task

    • AC - signal mask to send

    • XR - destination task

Call

jsr SENDSIG

Output
  • C=1 - error

    • AC - error code

  • C=0 - success

    • AC - E_OK

Note
XR and YR are preserved.

DESCRIPTION

Sends a signal to another task. In this process the bit corresponding to the signal is set in the pending signal bitmap of the receiving task.

RETURN CODES

Error return codes are given when at return, C=1.

E_OK

signal was delivered successfully

E_NOTASK

the receiving task is not active

E_INT

the task was waiting (blocking) for a signal, and a signal was received.

AUTHOR

Written by André Fachat.

REPORTING BUGS