git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@497 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2008-11-04 18:22:51 +00:00
parent eb6426acaa
commit a3811e1c18
2 changed files with 5 additions and 5 deletions

View File

@ -27,19 +27,18 @@
#ifdef CH_USE_MUTEXES
typedef struct Mutex Mutex;
/**
* Mutex structure.
* @extends ThreadsQueue
*/
struct Mutex {
typedef struct Mutex {
/** Queue of the threads sleeping on this Mutex.*/
ThreadsQueue m_queue;
/** Owner \p Thread pointer or \p NULL.*/
Thread *m_owner;
/** Next \p Mutex into an owner-list, \p NULL if none.*/
Mutex *m_next;
};
struct Mutex *m_next;
} Mutex;
#ifdef __cplusplus
extern "C" {

View File

@ -29,6 +29,7 @@
/**
* Semaphore structure.
* @extends ThreadsQueue
*/
typedef struct {
/** Queue of the threads sleeping on this Semaphore.*/