FreeSignal

Frees signals.

Synopsis

Err FreeSignal( uint32 sigMask )

Description

This procedure frees one or more signal bits allocated by AllocSignal(). The freed bits can then be reallocated.

For information about signals, see the description of the AllocSignal() procedure and the "Communicating Among Tasks" chapter in the 3DO Portfolio Programmer's Guide.

Arguments

sigMask
A 32-bit value in which any signal bits to deallocate are set. The bits are numbered from 0 (the least-significant bit) to 31 (the most-significant bit). Bits 0 through 7 and bit 31 cannot be freed.

Return Value

The procedure returns 0 if the signal(s) were freed successfully or an error code if an error occurs.

Implementation

SWI implemented in kernel folio V20.

Associated Files

task.h
ANSI C Prototype

See Also

AllocSignal(), WaitSignal(), SendSignal()