diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-10-14 10:47:44 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-12-09 16:37:30 +0100 |
commit | fb17dfb1ad2960d441b02f4e0ab8d3e9acb54be4 (patch) | |
tree | 11e198e374e64619c037eac4490a8b56de02790c /cpukit/include/rtems/score/thread.h | |
parent | spec: Update location of cadence I2C (diff) | |
download | rtems-fb17dfb1ad2960d441b02f4e0ab8d3e9acb54be4.tar.bz2 |
Avoid ISR_LOCK_MEMBER() since it confuses Doxygen
If RTEMS_SMP is not defined, then Doxygen adds the comments intended for
conditional the lock member to the next member.
Diffstat (limited to 'cpukit/include/rtems/score/thread.h')
-rw-r--r-- | cpukit/include/rtems/score/thread.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/include/rtems/score/thread.h b/cpukit/include/rtems/score/thread.h index c3c37eb160..adde98f9bf 100644 --- a/cpukit/include/rtems/score/thread.h +++ b/cpukit/include/rtems/score/thread.h @@ -673,10 +673,12 @@ typedef struct { */ RBTree_Control Key_value_pairs; +#if defined(RTEMS_SMP) /** * @brief Lock to protect the tree operations. */ - ISR_LOCK_MEMBER( Lock ) + ISR_lock_Control Lock; +#endif } Thread_Keys_information; /** |