CooCox 1.1.4 on mbed with simple blinky example

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

OsMutex.h File Reference

OsMutex.h File Reference

Mutex management header file. More...

Go to the source code of this file.

Data Structures

struct  Mutex
 Mutex control block. More...

Functions

void RemoveMutexList (P_OSTCB ptcb)
 Remove a task from mutex waiting list.

Variables

MUTEX MutexTbl [CFG_MAX_MUTEX]
OS_MutexID MutexFreeID

Detailed Description

Mutex management header file.

Version:
V1.1.4
Date:
2011.04.20

This file including some defines and declare related to mutex management.

INTERNAL FILE,DON'T PUBLIC.

© COPYRIGHT 2009 CooCox

Definition in file OsMutex.h.


Function Documentation

void RemoveMutexList ( P_OSTCB  ptcb )

Remove a task from mutex waiting list.

Parameters:
[in]ptcbTCB which will remove out.
[out]None
Return values:
None
Description

This function be called when delete a task.

Note:

Definition at line 292 of file mutex.c.


Variable Documentation

OS_MutexID MutexFreeID

A pointer to next vliad resource ID.

Point to next vliad mutex ID.

Definition at line 25 of file mutex.c.

MUTEX MutexTbl[CFG_MAX_MUTEX]

< Table use to save mutex control block.

Mutex struct array

Definition at line 26 of file mutex.c.