New issue
Advanced search Search tips

Issue 742408 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 3
Type: Feature



Sign in to add a comment

Maybe pass a mojo::ScopedSharedBufferHandle to SensorReadingSharedBufferReader constructor

Project Member Reported by juncai@chromium.org, Jul 13 2017

Issue description

In this way, the SensorReadingSharedBufferReader can do the validity check of the handle inside the reader.
 
Cc: reillyg@chromium.org timvolod...@chromium.org
As per comments on https://chromium-review.googlesource.com/c/541685, the shared memory logic can likely be encapsulated in the SensorReadingSharedBufferReader and eliminate some bookkeeping in the SensorProxy object (e.g. the shared_buffer_ member). This can happen by means of an Initialize() method returning a boolean, an approach that would be similar to the current shared_memory_seqlock_reader implementation..
Status: Started (was: Assigned)
Components: Blink>Sensor

Comment 4 by juncai@chromium.org, Jan 25 2018

Cc: juncai@chromium.org
Owner: ----
Status: Available (was: Started)

Sign in to add a comment