Make GUnixMountMonitor per-context
GUnixMountMonitor was not threadsafe before. It was a global singleton which emitted signals in the first thread that happened to construct it. Move it to a per-context singleton model where each GMainContext gets its own GUnixMountMonitor. Monitor for the changes from the GLib worker thread and dispatch the results to each context with an active monitor. https://bugzilla.gnome.org/show_bug.cgi?id=742599
parent
ae38d2bf
Please register or sign in to comment