(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/exec.h>

void ObtainSemaphoreShared (sigSem)

LOCATION
In SysBase at offset 113

SYNOPSIS
struct SignalSemaphore * sigSem

FUNCTION
Get a shared lock on a semaphore. If the lock cannot be obtained immediately this function waits. There may be more than one shared locks at the same time but only one exclusive one. An exclusive lock prevents shared locks. Shared locks are released with ReleaseSemaphore().

INPUTS
sigSem
Pointer to semaphore structure

RESULT

EXAMPLE

SEE ALSO
ReleaseSemaphore()

NOTES
This function preserves all registers.

BUGS

INTERNALS

HISTORY
#ifndef UseExecstubs