(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/exec.h>

void ObtainSemaphore (sigSem)

LOCATION
In SysBase at offset 94

SYNOPSIS
struct SignalSemaphore * sigSem

FUNCTION
Obtain an exclusive lock on a semaphore. If the semaphore is already in use by another task this function will wait until the semaphore becomes free.

INPUTS
sigSem
Pointer to semaphore structure

RESULT

EXAMPLE

SEE ALSO
ReleaseSemaphore()

NOTES
This function preserves all registers.

BUGS

INTERNALS

HISTORY
#ifndef UseExecstubs