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

Mutex #16

Merged
merged 4 commits into from
Jan 23, 2024
Merged

Mutex #16

merged 4 commits into from
Jan 23, 2024

Conversation

victoryang00
Copy link
Contributor

No description provided.

Brian Zhao and others added 4 commits January 10, 2024 00:17
Record Mutex lock and unlock operations and replay them on restore
Remap old TID to new TID once we know
Add additional synchronization to get TID mapping
Need `extern "C"` to prevent name mangling from C++
Replay Mutex state via Sync Op record and replay.
Using the naive solution for now because when CondVars
get replayed they will need locks to be held, so handling
that optimization will require some actual thought to get it done properly.

Uses `cur_count` in exec_env as an ID.
@victoryang00 victoryang00 merged commit c56c44a into main Jan 23, 2024
0 of 6 checks passed
@victoryang00 victoryang00 deleted the mutex branch January 23, 2024 00:40
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