forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return Sensor pipe in SensorInitParams
This patch modifies the GetSensor method so that the Sensor interface pointer is returned in the SensorInitParams struct instead of being passed to the GetSensor method as an interface request. This prevents a class of errors where an early connection error on the Sensor pipe can race with the reply to the GetSensor method as they are sent on different FIFOs. Bug: 781767 Change-Id: I79e47417da4b0bda49ddb44070e123009e46b893 Reviewed-on: https://chromium-review.googlesource.com/757283 Reviewed-by: Antoine Labour <piman@chromium.org> Reviewed-by: Tim Volodine <timvolodine@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#515333}
- Loading branch information
Showing
12 changed files
with
202 additions
and
203 deletions.
There are no files selected for viewing
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 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 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
Oops, something went wrong.