(C) 1998 AROS - The Amiga Research OS


NAME

void AddSemaphore (sigSem)

LOCATION
In SysBase at offset 100

SYNOPSIS
struct SignalSemaphore * sigSem

FUNCTION
Adds a semaphore to the system public semaphore list. Since the semaphore gets initialized by this function it must be free at this time. Also the ln_Name field must be set.

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
20.10.1998 hkiel
Amiga Research OS
12.05.1997 aros
Fixed all headers
26.02.1997 ldp
Removed NT_SIGNALSEM assignment, as this is also done in the InitSemaphore() that is called right after.
01.01.1997 ldp
Committed Amiga native (support) code

Changed clib to proto

10.12.1996 aros
Moved all #include's in the first column so makedepend can see it.
24.10.1996 aros
Use the official AROS macros over the __AROS versions.
13.08.1996 digulla
Replaced __AROS_LA by __AROS_LHA Replaced some __AROS_LH*I by __AROS_LH* Sorted and added includes
01.08.1996 digulla
Added standard header for all files
01.08.1996 digulla
Added copyright notics and made headers conform
28.07.1996 digulla
Initial revision
28.07.1996 digulla
First CVS version of AROS