Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Common/OS_Kernel.h
- Revision:
- 3:ffeede165329
- Parent:
- 2:bf07aada100e
- Child:
- 4:6592f6b49368
--- a/Common/OS_Kernel.h Thu Nov 11 10:03:28 2010 +0000
+++ b/Common/OS_Kernel.h Thu Nov 11 10:11:30 2010 +0000
@@ -1,5 +1,4 @@
-/// @file
-//******************************************************************************
+/// @file //******************************************************************************
//*
//* FULLNAME: Single-Chip Microcontroller Real-Time Operating System
//*
@@ -234,6 +233,9 @@
public:
INLINE_PROCESS_CTOR process();
#ifdef DEBUG_STACK
+/* Determine stack usage by looking for change from fill constant
+ * @return The stack size used so far
+ */
word UsedStackSize();
#endif //DEBUG_STACK
@@ -251,9 +253,6 @@
{
}
#ifdef DEBUG_STACK
-/** Determine stack usage by looking for change from fill constant
- * @return The stack size used so far
- */
template<TPriority pr, word stack_size>
word process<pr,stack_size>::UsedStackSize()
{