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/include/threads.h | |
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/include/threads.h')
-rw-r--r-- | src/include/threads.h | 3 |
1 files changed, 3 insertions, 0 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 |