Skip to content

Conversation

@cmattatall
Copy link

There are many scenarios where the core performing log processing is also performing other I/O bound workloads and the log processing is not the highest priority task.

This PR preserves the default behavior of DebugP_shm_log_reader (reading all available logs, blocking until all are processed) but exposes an API that allows yielding and after a certain number of lines have been processed.

On higher optimization levels, instruction reordering can occur across
boundary of reading peripheral clock div register
On higher optimization levels, instruction reordering can occur across
boundary of reading peripheral clock div register
@cmattatall cmattatall force-pushed the dpl/yieldable-log-reader branch from 5061ed6 to 2c28474 Compare December 9, 2025 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant