diff options
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 |