зеркало из https://github.com/mozilla/gecko-dev.git
dc68c08511
For replacing the Bluetooth command thread with a LazyIdleThread, we need to make sure that the DBus service thread is shutdown from within the main thread. This patch changes the DBus stop code to cleanup the DBusThread structure from the service thread to prevent race conditions during shutdown. The DBus service thread itself gets shutdown from the main thread to fulfill the requirements of LazyIdleThread. The patch also makes sure that it's not possible to accidently dispatch a runnable while the DBus thread terminates. |
||
---|---|---|
.. | ||
DBusThread.cpp | ||
DBusThread.h | ||
DBusUtils.cpp | ||
DBusUtils.h | ||
Makefile.in | ||
RawDBusConnection.cpp | ||
RawDBusConnection.h | ||
moz.build |