Re: [systemd-devel] EXT: sdbus_event loop state mark as volatile?

2019-09-06 Thread Simon McVittie
On Fri, 06 Sep 2019 at 06:57:22 +, Ray, Ian (GE Healthcare) wrote: > If thread-safety is a design goal (and I don’t believe that it is [1]) > then atomic or thread-safe primitives should be used. > > [1] > https://lists.freedesktop.org/archives/systemd-devel/2017-March/038519.html [1] is

Re: [systemd-devel] EXT: sdbus_event loop state mark as volatile?

2019-09-06 Thread Ray, Ian (GE Healthcare)
> On 5 Sep 2019, at 20.46, Stephen Hemminger wrote: > > The libsystemd bus event loop is: > > >while (e->state != SD_EVENT_FINISHED) { >r = sd_event_run(e, (uint64_t) -1); > > But since e->state is changed by another thread it What other thread? > should be marked

Re: [systemd-devel] Bad accelerometer values cause incorrect screen rotation

2019-09-06 Thread Daniel Drake
On Thu, Sep 5, 2019 at 9:00 PM Bastien Nocera wrote: > Daniel, if you run into many more problems, there's also the > possibility of adding a boot argument to disable the accelerometer (or > maybe its effects?), either in iio-sensor-proxy or gnome-shell. Thanks for the suggestion, manually