Skip to content

Conversation

@RalphSteinhagen
Copy link
Member

  • removed/replaced opendigitizer::SineSource (busy-looping source, not blocking)
  • added thread instrumentation

@RalphSteinhagen RalphSteinhagen marked this pull request as draft July 10, 2025 09:19
@RalphSteinhagen
Copy link
Member Author

Needs GR4 to be bumped first.

@RalphSteinhagen RalphSteinhagen marked this pull request as ready for review August 19, 2025 11:19
... in favour of default GR4 gr::basic::ClockSource+gr::basic::SignalGenerator

Signed-off-by: Ralph J. Steinhagen <[email protected]>
Signed-off-by: Ralph J. Steinhagen <[email protected]>
Copy link
Member

@wirew0rm wirew0rm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, one small question/issue, otherwise can be merged once the CI has passed.

case gr::lifecycle::State::REQUESTED_PAUSE:
case gr::lifecycle::State::PAUSED:
_thread = std::thread([this]() {
gr::thread_pool::thread::setProcessName("UiScheduler #2 (paused)");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The numbering of the threads is not clear to me here. Is using the acutal thread-id instead of 2 missing here?

My interpretation is that this thread doesn't get it's own id because it is only a short lived helper thread to trigger the state change. Maybe it would be sufficient to change the #2 to (temp) or something like that.

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.

3 participants