The destroy method destroys
the RiCOSMutex object.
Signaturevoid RiCOSMutex_destroy (RiCOSMutex * const me);
Parametersme
The RiCOSMutex object
to destroy
Examplevoid RiCOSMutex_destroy(RiCOSMutex * const me)
{
if (me != NULL) {
RiCOSMutex_cleanup(me);
free(me);
}
}