-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced `ForeignExecutor` with `BlockingTaskQueue`. BlockingTaskQueue allows a Rust closure to be scheduled on a foreign thread where blocking operations are okay. The closure runs inside the parent future, which is nice because it allows the closure to reference its outside scope. Added new tests for this in the futures fixtures. Updated the tests to check that handles are being released properly. TODO: implement dropping BackgroundQueue and releasing the handle.
- Loading branch information
Showing
62 changed files
with
1,011 additions
and
1,315 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
fixtures/foreign-executor/tests/bindings/test_foreign_executor.kts
This file was deleted.
Oops, something went wrong.
50 changes: 0 additions & 50 deletions
50
fixtures/foreign-executor/tests/bindings/test_foreign_executor.py
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.