Type Alias SharedGpuControlState

Source
pub type SharedGpuControlState = Rc<RefCell<Option<(Rc<RefCell<Frontend>>, Interrupt)>>>;
Expand description

The frontend state and interrupt of the running device, shared with the GPU control socket handlers.

The handlers live as long as the process while the frontend only exists while the device is running, so this is None until start_platform_workers() and again after the device stops.

Aliased Typeยง

struct SharedGpuControlState { /* private fields */ }