Repository navigation
Implement file reading task source - #12448
Merged
Merged
Conversation
And remove superfluous FileReaderEvent enum
|
Heads up! This PR modifies the following files:
|
jdm
force-pushed
the
file-reading-task-source-2
branch
from
July 14, 2016 17:28
d226cbe to
aa5f34f
Compare
Member
Author
| } | ||
|
|
||
| pub fn file_reading_task_source(&self) -> FileReadingTaskSource { | ||
| FileReadingTaskSource(self.script_chan()) |
Contributor
There was a problem hiding this comment.
Aha! I was definitely missing this part that would allow task sources to work in workers.
Contributor
|
@bors-servo r+ |
Contributor
|
📌 Commit aa5f34f has been approved by |
Contributor
bors-servo
pushed a commit
that referenced
this pull request
Jul 14, 2016
Implement file reading task source Implement the task source API for the File Reader task source, enabling using task sources from non-main threads. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix (partially) #7959 (github issue number if applicable). - [X] These changes do not require tests because they're refactoring existing code <!-- 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/12448) <!-- Reviewable:end -->
Contributor
|
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows |
4 of 5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement the task source API for the File Reader task source, enabling using task sources from non-main threads.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is