diff options
Diffstat (limited to 'src/common/console.h')
-rw-r--r-- | src/common/console.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/common/console.h b/src/common/console.h index 57c750a7d..f97e36456 100644 --- a/src/common/console.h +++ b/src/common/console.h @@ -22,12 +22,13 @@ #include "common/hercules.h" #include "common/db.h" -#include "common/mutex.h" #include "common/spinlock.h" #include "common/thread.h" /* Forward Declarations */ struct Sql; // common/sql.h +struct mutex_data; +struct cond_data; /** * Queue Max @@ -74,8 +75,8 @@ struct console_input_interface { SPIN_LOCK ptlock;/* parse thread lock */ rAthread *pthread;/* parse thread */ volatile int32 ptstate;/* parse thread state */ - ramutex *ptmutex;/* parse thread mutex */ - racond *ptcond;/* parse thread cond */ + struct mutex_data *ptmutex; ///< parse thread mutex. + struct cond_data *ptcond; ///< parse thread conditional variable. /* */ VECTOR_DECL(struct CParseEntry *) command_list; VECTOR_DECL(struct CParseEntry *) commands; |