Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

µC/OS-II (os_mutex.c)

µC/OS-III (os_mutex.c)

Note

BOOLEAN

OSMutexAccept(

OS_EVENT *pevent,

INT8U *perr);

 

(1)

OS_EVENT *

OSMutexCreate(

INT8U prio,

INT8U *perr);

void

OSMutexCreate(

OS_MUTEX *p_mutex,

CPU_CHAR *p_name,

OS_ERR *p_err);

(2)

OS_EVENT *

OSMutexDel(

OS_EVENT *pevent,

INT8U opt,

INT8U *perr);

void

OSMutexDel(

OS_MUTEX *p_mutex,

OS_OPT opt,

OS_ERR *p_err);

 

void

OSMutexPend(

OS_EVENT *pevent,

INT32U timeout,

INT8U *perr);

void

OSMutexPend(

OS_MUTEX *p_mutex,

OS_TICK timeout,

OS_OPT opt,

CPU_TS *p_ts,

OS_ERR *p_err);

(3)

 

OS_OBJ_QTY

OSMutexPendAbort(

OS_MUTEX *p_mutex,

OS_OPT opt,

OS_ERR *p_err);

 

INT8U

OSMutexPost(

OS_EVENT *pevent);

void

OSMutexPost(

OS_MUTEX *p_mutex,

OS_OPT opt,

OS_ERR *p_err);

 

INT8U

OSMutexQuery(

OS_EVENT *pevent,

OS_MUTEX_DATA *p_mutex_data);

 

(4)

Table C-11 Mutual Exclusion Semaphore Management API

...