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

Instrument with loom #86

Merged
merged 5 commits into from
May 29, 2024
Merged

Instrument with loom #86

merged 5 commits into from
May 29, 2024

Conversation

notgull
Copy link
Member

@notgull notgull commented May 26, 2024

Adds loom instrumentation to help find bugs

This should hopefully allow us to get to the bottom of these deadlocks.

Signed-off-by: John Nunley <dev@notgull.net>
Signed-off-by: John Nunley <dev@notgull.net>
Signed-off-by: John Nunley <dev@notgull.net>
@notgull notgull marked this pull request as ready for review May 29, 2024 03:50
Signed-off-by: John Nunley <dev@notgull.net>
I think this bug is new

Signed-off-by: John Nunley <dev@notgull.net>
@notgull notgull merged commit 2c96fbf into master May 29, 2024
10 checks passed
@notgull notgull deleted the notgull/loom branch May 29, 2024 03:58

use async_lock::Barrier;

#[ignore]
Copy link
Collaborator

Choose a reason for hiding this comment

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

This PR doesn't seem to add any tests that are actually run in CI.

Copy link
Member Author

Choose a reason for hiding this comment

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

Still WIP here.


[features]
default = ["std"]
portable-atomic = ["portable-atomic-util", "portable_atomic_crate"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

I saw the changes to lib.rs, but this doesn't really seem to be in use?

Copy link
Member Author

Choose a reason for hiding this comment

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

Whoops, I was going to add a portable-atomic impl but forgot to. Will fix this.

Copy link
Member Author

Choose a reason for hiding this comment

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

#87

notgull added a commit that referenced this pull request Jun 1, 2024
I added half of a portable-atomic implementation in #86 and forgot to finish it.
This removes it prior to release.

Signed-off-by: John Nunley <dev@notgull.net>
notgull added a commit that referenced this pull request Jun 1, 2024
I added half of a portable-atomic implementation in #86 and forgot to finish it.
This removes it prior to release.

Signed-off-by: John Nunley <dev@notgull.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants