Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more: print more context if we preempt in atomic section #389

Merged
merged 1 commit into from
Mar 6, 2025
Merged

Conversation

romange
Copy link
Owner

@romange romange commented Mar 5, 2025

No description provided.

Copy link
Collaborator

@dranikpg dranikpg left a comment

Choose a reason for hiding this comment

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

Out of context here

@romange romange merged commit 9c7bded into master Mar 6, 2025
8 checks passed
@romange romange deleted the Pr1 branch March 6, 2025 08:07
Comment on lines +208 to +211
static int64_t last_ts = 0;
int64_t now = time(nullptr);
if (now != last_ts) { // once a second at most.
last_ts = now;
Copy link
Collaborator

Choose a reason for hiding this comment

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

When you remove the LEGACY_GLOG support in favor of absl logs, you can replace this with a simple LOG_EVERY_N_SEC(DFATAL, 1), but I guess not yet 😞

Copy link
Owner Author

Choose a reason for hiding this comment

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

yeah this does not work and I won't have time to complete all the logging functionality with absl.
they do not support log files out of the box and other stuff as well. Could be a nice feature contribution to helio ;)

@chakaz
Copy link
Collaborator

chakaz commented Mar 6, 2025

Out of context here

I see what you did there! 🤣

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