Skip to content

Conversation

@BrianShTsoi
Copy link
Contributor

@BrianShTsoi BrianShTsoi commented Nov 27, 2024

Hacked together a program to make sure tests are running/failing as expected. The code may not be written with best practices. This PR is not intended to be merged.

The program is similar to examples/usage.rs, but spawns an additional thread that "corrupts the memory" (It gets access to the same memory vec by taking in a pointer to bypass Rust's concurrency rules. Very unsafe and can cause race condition, but should be fine since the point is to mess with the vector anyways?)

Might be worth merging into the codebase in the future, but not a priority. Right now this is mainly for helping with debugging #1 .

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.

2 participants