gecko-dev/netwerk/wifi
Nika Layzell f7772bb6ae Bug 1809753 - Part 4: Remove unnecessary GetMainThreadEventTarget, r=mccr8
This method always returned GetMainThreadSerialEventTarget(). This patch
switches all callers over to use that method instead.

We can't easily switch all calls to be calls to NS_GetMainThread(), as there is
no version of that method returning a bare nsIThread* instance.

I didn't introduce one, as we may want to add a lock around mMainThread in the
future, which would require removing nsThreadManager::GetMainThreadWeak. As
this method only returns nsISerialEventTarget, it method could remain
implemented, however, by returning a statically allocated fake event target
which forwards dispatches (and QIs to nsIThread) to the real main thread.

Differential Revision: https://phabricator.services.mozilla.com/D166608
2023-01-16 23:14:12 +00:00
..
moz.build Bug 1795230 - Fix -Wobjc-method-access warnings in osx_corewlan.mm. r=haik,necko-reviewers,valentin 2022-10-17 21:58:42 +00:00
nsIWifiAccessPoint.idl
nsIWifiListener.idl
nsIWifiMonitor.idl
nsWifiAccessPoint.cpp Bug 1792574, part 3 - Don't include nsMemory where it isn't needed. r=xpcom-reviewers,necko-reviewers,valentin,nika 2022-09-28 15:17:46 +00:00
nsWifiAccessPoint.h
nsWifiMonitor.cpp Bug 1809753 - Part 4: Remove unnecessary GetMainThreadEventTarget, r=mccr8 2023-01-16 23:14:12 +00:00
nsWifiMonitor.h Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato 2022-08-03 16:39:41 +00:00
nsWifiScannerDBus.cpp
nsWifiScannerDBus.h
nsWifiScannerFreeBSD.cpp
nsWifiScannerMac.cpp
nsWifiScannerSolaris.cpp
nsWifiScannerWin.cpp
osx_corewlan.mm Bug 1795230 - Fix -Wobjc-method-access warnings in osx_corewlan.mm. r=haik,necko-reviewers,valentin 2022-10-17 21:58:42 +00:00
osx_wifi.h
win_wifiScanner.cpp
win_wifiScanner.h
win_wlanLibrary.cpp
win_wlanLibrary.h