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.
Revision 7:6fab7e5aa489, committed 2010-11-11
- Comitter:
- segundo
- Date:
- Thu Nov 11 10:30:39 2010 +0000
- Parent:
- 6:74e9f8b6e352
- Commit message:
Changed in this revision
| Common/OS_Kernel.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Common/OS_Kernel.h Thu Nov 11 10:20:14 2010 +0000
+++ b/Common/OS_Kernel.h Thu Nov 11 10:30:39 2010 +0000
@@ -1,4 +1,4 @@
-/// @file //******************************************************************************
+//******************************************************************************
//*
//* FULLNAME: Single-Chip Microcontroller Real-Time Operating System
//*
@@ -64,7 +64,7 @@
//
// NAME : OS
//
-/// PURPOSE : Namespace for all OS stuff
+// PURPOSE : Namespace for all OS stuff
//
// DESCRIPTION: Includes: Kernel,
// Processes,
@@ -231,15 +231,12 @@
class process : public TBaseProcess
{
public:
- INLINE_PROCESS_CTOR process(); ///< Constructor
+ 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(); ///< The stack size used so far
+ word UsedStackSize();
#endif //DEBUG_STACK
- OS_PROCESS static void Exec(); ///< Exec method
+ OS_PROCESS static void Exec();
private:
TStackItem Stack[stack_size/sizeof(TStackItem)];
@@ -253,6 +250,7 @@
{
}
#ifdef DEBUG_STACK
+// Determine stack usage by looking for change from fill constant
template<TPriority pr, word stack_size>
word process<pr,stack_size>::UsedStackSize()
{