RTEMS | Draft: Feature/stack reporter config (!86)

Mohamed Hassan (@Hamzi) gitlab at rtems.org
Tue Jul 9 17:00:49 UTC 2024




Mohamed Hassan commented on a discussion on cpukit/include/rtems/stackchk.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/86#note_108930

 >    0                                            /* terminate    */ \
 >  }
 >  
 > +/**
 > + * @brief The Stack Checker Reporter Initialization Handler.
 > + * 
 > + * @param[in] running running points to the currently executing thread which
 > + * is being context switched out.
 > + * 
 > + * @param pattern_ok bool variable to check if the pattern is
 > + * still valid or not.
 > + */
 > +typedef void (*Stack_checker_reporter_extension)(

Here, I rewrite it like:
```
typedef void (*Stack_checker_reporter_extension)
(
  const Thread_Control *running, 
  bool pattern_ok
);

```

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/86#note_108930
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240709/00f14584/attachment.htm>


More information about the bugs mailing list