RTEMS | Improve event record handling (!282)

Sebastian Huber (@sebhub) gitlab at rtems.org
Sun Nov 3 11:26:46 UTC 2024




Sebastian Huber commented on a discussion on cpukit/include/rtems/record.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/282#note_114245

 > +   */
 > +  RTEMS_RECORD_FETCH_CONTINUE,
 > +
 > +  /**
 > +   * @brief This enumerator indicates that the item count passed to
 > +   *   rtems_record_fetch() is invalid.
 > +   */
 > +  RTEMS_RECORD_FETCH_INVALID_ITEM_COUNT
 > +} rtems_record_fetch_status;
 >  
 >  /**
 > - * @brief Drains the record items on all processors.
 > + * @brief Returns the recommended count of items passed to
 > + *   rtems_record_fetch().
 > + */
 > +size_t rtems_record_fetch_recommended_item_count( void );

I will rename it to `rtems_record_get_item_count_for_fetch()`. What about this comment:
```
/**
 * @brief Returns the count of items which allows getting all available items
 *   for one processor through one call to rtems_record_fetch().
 */
size_t rtems_record_get_item_count_for_fetch( void );
```

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/282#note_114245
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/20241103/e4c5ab21/attachment-0001.htm>


More information about the bugs mailing list