pop-os / installer

Installer for Pop!_OS & other Linux-based OSes
https://system76.com/pop
GNU General Public License v3.0
26 stars 16 forks source link

Interface with distinst in a background thread (enables Wayland support) #154

Open mmstick opened 6 years ago

mmstick commented 6 years ago

Why

How

The same method used by Popsicle to gain Wayland support could be used here. However, Vala does not support algebraic data types; multi-producer, single-consumers; or lock-free queues, so we may need to either A) expose some kind of API distinst for interacting with it via events on channels, B) recreate similar functionality in Vala with Atomics & Mutexes. I would likely lean more towards A.