DescriptionReturn created channels synchronously
This CL's focus is to return the channels synchronously. A next CL will introduce a close() api to message ports so resources can be freed when not used, and then will change the way we post messages in background thread.
At the receive side, we need to deal with messages received when a port is being transferred. this is for a next cl.
The channel ports are created in a different thread. This CL introduces an internal "pending" state that is not visible to users to hide the fact that channels are not ready yet.
BUG=393291
Committed: https://crrev.com/2d72bc0ea342dd43b5ba9593efb585c3c8bf8473
Cr-Commit-Position: refs/heads/master@{#316243}
Patch Set 1 #
Total comments: 22
Patch Set 2 : address hush review #Patch Set 3 : disable a test for real and remove a wrong assertion #Messages
Total messages: 16 (6 generated)
|