diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-03-26 13:18:23 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-03-26 13:18:23 +0000 |
commit | 2df3ca97a70aa600a1dd0f8be59d0ad2d359c16e (patch) | |
tree | 6b206e69d934bc90347c4b0bb77e65f27a0f7fac /src/openocd.c | |
parent | d47e1b8f362379d8a2307f49e2b42115a3f40524 (diff) |
hooks for multithreading. Disable nagle
git-svn-id: svn://svn.berlios.de/openocd/trunk@524 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/openocd.c')
-rw-r--r-- | src/openocd.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/openocd.c b/src/openocd.c index 604a3c5b..bc4dc50f 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -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 */ |