(C) 1998 AROS - The Amiga Research OS


NAME

void InitSemaphore (sigSem)

LOCATION
In SysBase at offset 93

SYNOPSIS
struct SignalSemaphore * sigSem

FUNCTION
Prepares a semaphore structure for use by the exec semaphore system, i.e. this function must be called after allocating the semaphore and before using it or the semaphore functions will fail.

INPUTS
sigSem
Pointer to semaphore structure

RESULT

EXAMPLE

SEE ALSO

NOTES
Semaphores are shared between the tasks that use them and must therefore lie in public (or at least shared) memory.

BUGS

INTERNALS

HISTORY