added pre/postlude fn's for when OpenOCD is sleeping.

git-svn-id: svn://svn.berlios.de/openocd/trunk@765 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe
2008-07-07 08:05:07 +00:00
parent d6194d7356
commit b31d83c6c7
3 changed files with 14 additions and 24 deletions

View File

@@ -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);
}