diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-06 11:39:36 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-06 11:39:36 +0000 |
commit | d121a4942a3144ca52e8148607cc74d1a9c07752 (patch) | |
tree | c4a015c5c67a30b14ee00f767a61214b19eda615 /src | |
parent | 56221d3e7f7635667902c58d5b2db7ff08276094 (diff) | |
download | ChibiOS-d121a4942a3144ca52e8148607cc74d1a9c07752.tar.gz ChibiOS-d121a4942a3144ca52e8148607cc74d1a9c07752.tar.bz2 ChibiOS-d121a4942a3144ca52e8148607cc74d1a9c07752.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@591 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src')
-rw-r--r-- | src/include/threads.h | 3 | ||||
-rw-r--r-- | src/templates/chcore.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/include/threads.h b/src/include/threads.h index b537d6bc6..771fabb83 100644 --- a/src/include/threads.h +++ b/src/include/threads.h @@ -50,6 +50,9 @@ struct Thread { tmode_t p_flags; /** Machine dependent processor context.*/ Context p_ctx; +#ifdef CH_USE_NESTED_LOCKS + cnt_t p_locks; +#endif /* * The following fields are merged in unions because they are all * state-specific fields. This trick saves some extra space for each diff --git a/src/templates/chcore.h b/src/templates/chcore.h index f94cb4b18..576fbf708 100644 --- a/src/templates/chcore.h +++ b/src/templates/chcore.h @@ -62,7 +62,7 @@ typedef struct { } Context;
/**
- * Platform dependent part of the @p chThdCreate() API.
+ * Platform dependent part of the @p chThdInit() API.
* This code usually setup the context switching frame represented by a
* @p intctx structure.
*/
|