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

Remove util::ipc (OptionalIpcSender / OptionalOpaqueIpcSender / OpaqueSender) #12312

Closed
Ms2ger opened this issue Jul 7, 2016 · 2 comments
Closed

Comments

@Ms2ger
Copy link
Contributor

@Ms2ger Ms2ger commented Jul 7, 2016

This seems to be a performance optimization for the non-multiprocess case; it's not clear to me that it ever pulled its weight. Note that most of Servo uses plain IpcSenders where these types could have been used.

CC @pcwalton

@djc
Copy link
Contributor

@djc djc commented Jul 22, 2016

So I have the simple parts of this done. However, I ran into an issue where in gfx::paint_thread::PaintThread the select! macro is used over layout_to_paint_port, which is now of the IPC variety, and chrome_to_paint_port, which is an mpsc channel. Not sure how best to resolve this.

@jdm
Copy link
Member

@jdm jdm commented Jul 22, 2016

You want this useful method.

bors-servo added a commit that referenced this issue Jul 25, 2016
Remove util::ipc module (use ipc_channel instead; fixes #12312)

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12312 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because refactoring only

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12558)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Jul 26, 2016
Remove util::ipc module (use ipc_channel instead; fixes #12312)

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12312 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because refactoring only

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12558)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Oct 20, 2016
Remove util::ipc module (fixes #12312)

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13831)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Oct 20, 2016
Remove util::ipc module (fixes #12312)

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13831)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants
You can’t perform that action at this time.