Comment fixes.

This commit is contained in:
Aleric Inglewood
2013-01-25 16:09:34 +01:00
parent 0296812e88
commit a1fa43850b
2 changed files with 2 additions and 2 deletions

View File

@@ -176,7 +176,7 @@ void AIStateMachine::idle(state_type current_run_state)
// About thread safeness:
//
// The main thread initializes a statemachine and calls run, so a statemachine
// runs in the main thread. However, it is allowed that a state calls idle()
// runs in the main thread. However, it is allowed that a state calls idle(current_state)
// and then allows one or more other threads to call cont() upon some
// event (only once, of course, as idle() has to be called before cont()
// can be called again-- and a non-main thread is not allowed to call idle()).

View File

@@ -264,7 +264,7 @@ class AIStateMachine {
//! Halt the state machine until cont() is called (not thread-safe).
void idle(void);
//! Halt the state machine until cont() is called, provided it is still in 'cur_run_state'.
//! Halt the state machine until cont() is called, provided it is still in 'current_run_state'.
void idle(state_type current_run_state);
//! Temporarily halt the state machine.