-
Notifications
You must be signed in to change notification settings - Fork 4
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
Assorted fixes for mac chromium #379
Conversation
@@ -39,8 +39,10 @@ WaitableEvent::WaitableEvent(ResetPolicy reset_policy, | |||
InitialState initial_state) | |||
: policy_(reset_policy) { | |||
// Pointer registration is needed for sorting in WaitSet.user_events_ | |||
recordreplay::RegisterPointer("WaitableEvent", this); | |||
record_replay_ordered_lock_id_ = recordreplay::CreateOrderedLock("WaitableEvent"); | |||
if (!recordreplay::AreEventsDisallowed() || recordreplay::HasDivergedFromRecording()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm amazed by how little changes are needed for mac. i.e. it looks like even this cc
file is mac specific
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, there is some other mac specific logic already in place, since we used to be able to record/replay on chrome 91 and I made sure that the mac build worked during the 108 rebase.
https://linear.app/replay/issue/RUN-1285