David Kuehling <dvdkhlng@gmx.de> - added jim-eventloop.c

git-svn-id: svn://svn.berlios.de/openocd/trunk@898 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe
2008-08-07 16:37:20 +00:00
parent 2cec23fc37
commit c76b0618d7
12 changed files with 728 additions and 2 deletions

View File

@@ -27,6 +27,7 @@
#include "log.h"
#include "configuration.h"
#include "time_support.h"
#include "command.h"
#include <stdio.h>
#include <stdlib.h>
@@ -368,6 +369,11 @@ void keep_alive()
LOG_USER_N("%s", "");
last_time=current_time;
}
/* also process TCL events (we have to do this from 'log.c' since its
* keep_alive() is the only routine guaranteed to be called at least
* once per second :( */
process_jim_events ();
}
/* reset keep alive timer without sending message */