Disposes a mutex.
a0tError a0DisposeMutex( | | | |
| a0tMutex | *mutex );
| |
Name | rd/wr | Description |
mutex | write | Mutex descriptor to dispose. |
This routine disposes the structures allocated to a mutex and empties its descriptor. The mutex can no longer be used afer this call.
Error Code | Description |
A0ErrInvMutex The mutex descriptor is invalid. | |
A0ErrLockedMutex The mutex is locked by other thread. | |
A0Err...Some error occurred. | |
A0ErrOkSuccessful completion. | |
a0NewMutex() a0LockMutex() a0UnlockMutex()