Parent Directory | Revision Log | Patch
revision 188 by torben, Mon Dec 8 21:28:40 2008 UTC | revision 189 by torben, Wed Dec 17 12:46:49 2008 UTC | |
---|---|---|
# | Line 65 void TaskManager::AddTemporaryTask(Task* | Line 65 void TaskManager::AddTemporaryTask(Task* |
65 | ||
66 | void TaskManager::ExecuteTasks(ISmsTransceiver& modem) | void TaskManager::ExecuteTasks(ISmsTransceiver& modem) |
67 | { | { |
68 | const int SLEEP_TIME = 10; //wait at least 10 seconds between executions | const int SLEEP_TIME = 2; //wait this long between task executions |
69 | int now = time(0); | int now = time(0); |
70 | ||
71 | if (now < (_lastExecuted + SLEEP_TIME) ) | if (now < (_lastExecuted + SLEEP_TIME) ) |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |