hooks for multithreading. Disable nagle

git-svn-id: svn://svn.berlios.de/openocd/trunk@524 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe
2008-03-26 13:18:23 +00:00
parent d47e1b8f36
commit 2df3ca97a7
2 changed files with 64 additions and 1 deletions

View File

@@ -64,6 +64,17 @@ void exit_handler(void)
jtag->quit();
}
/* implementations of OpenOCD that uses multithreading needs to lock OpenOCD while calling
* OpenOCD fn's. No-op in vanilla OpenOCD
*/
void lockBigLock()
{
}
void unlockBigLock()
{
}
int main(int argc, char *argv[])
{
/* initialize commandline interface */