git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@497 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
eb6426acaa
commit
a3811e1c18
|
@ -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" {
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
|
||||
/**
|
||||
* Semaphore structure.
|
||||
* @extends ThreadsQueue
|
||||
*/
|
||||
typedef struct {
|
||||
/** Queue of the threads sleeping on this Semaphore.*/
|
||||
|
|
Loading…
Reference in New Issue