(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/expansion.h>

void ObtainConfigBinding ()

LOCATION
In ExpansionBase at offset 20

SYNOPSIS
/* void */

FUNCTION
ObtainConfigBinding() gives you permission to bind drivers to a ConfigDev structure. It exists so that two drivers at once do not try and bind the same ConfigDev structures at the same time.

Since most of the data required to bind drivers is statically kept, so you must lock out other users from accessing the structures at the same time.

This call is based on the Exec SignalSemaphores, and will block until it is safe to proceed.

INPUTS
None.

RESULT
You will have the lock on the CurrentBindings. Please finish as quickly as you can.

EXAMPLE

SEE ALSO
ReleaseConfigBinding()

NOTES

BUGS

INTERNALS

HISTORY