X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fmain.c;h=ce6e919f9a84f7e83ada0c7aa7a8176ef408c1f8;hb=2e832a399a10fc00253b342f8cde9c5b1062fa63;hp=cc592238d6054c6a58778b9478f50012dbdbe781;hpb=655e4f88a6b7fd82a570a17cf1219356f4587a37;p=openocd.git diff --git a/src/main.c b/src/main.c index cc592238d6..ce6e919f9a 100644 --- a/src/main.c +++ b/src/main.c @@ -18,16 +18,18 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -/* implementations of OpenOCD that uses multithreading needs to lock OpenOCD while calling - * OpenOCD fn's. No-op in vanilla OpenOCD +/* implementations of OpenOCD that uses multithreading needs to know when + * OpenOCD is sleeping. No-op in vanilla OpenOCD */ -void lockBigLock() +void openocd_sleep_prelude() { } -void unlockBigLock() + +void openocd_sleep_postlude() { } + /* This is the main entry for developer PC hosted OpenOCD. @@ -47,3 +49,4 @@ int main(int argc, char *argv[]) return openocd_main(argc, argv); } +