a0NewMutex()

Creates a mutex.


Syntax

a0tError a0NewMutex(
a0tMutex *mutex );

Arguments

Namerd/wrDescription
mutex write Mutex descriptor to fill.

Description

This routine creates a mutex and store its descriptor in mutex.


Return Values

If an error condition occurs, it returns the error code, otherwise it returns A0ErrOk. Possible values are as follows:
Error CodeDescription
A0Err...Some error occurred.
A0ErrOkSuccessful completion.

See Also

a0LockMutex() a0UnlockMutex() a0DisposeMutex()