<< Previous | Next >>

OSMutexQuery

INT8U OSMutexQuery (OS_EVENT *pevent, OS_MUTEX_DATA *pdata);

Description

This function obtains information about a mutex.

Parameters

pevent
Pointer to the event control block associated with the desired mutex.

pdata
Pointer to a structure that will contain information about the mutex.

Return value

OS_NO_ERR
The call was successful and the message was sent

OS_ERR_QUERY_ISR
Function was called from an ISR

OS_ERR_PEVENT_NULL
pevent is a NULL pointer

OS_ERR_EVENT_TYPE
Attempting to obtain data from a non mutex.

Library

OS_MUTEX.C


020-0059 Rev. D << Previous | Next >> µC/OS-II