git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@361 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
6ae1a6c882
commit
b28f013119
|
@ -27,12 +27,10 @@
|
||||||
|
|
||||||
#ifdef CH_USE_CONDVARS
|
#ifdef CH_USE_CONDVARS
|
||||||
|
|
||||||
typedef struct CondVar CondVar;
|
typedef struct CondVar {
|
||||||
|
|
||||||
struct CondVar {
|
|
||||||
/** Queue of the threads sleeping on this CondVar. */
|
/** Queue of the threads sleeping on this CondVar. */
|
||||||
ThreadsQueue c_queue;
|
ThreadsQueue c_queue;
|
||||||
};
|
} CondVar;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -48,7 +46,6 @@ extern "C" {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif /* CH_USE_CONDVARS */
|
#endif /* CH_USE_CONDVARS */
|
||||||
|
|
||||||
#endif /* _CONDVARS_H_ */
|
#endif /* _CONDVARS_H_ */
|
||||||
|
|
Loading…
Reference in New Issue