mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
91e427615a
This patch moves NFC thread onto the NFC service thread by applying the following changes: * The methods |Start| and |Shutdown| now send runnables to the NFC thread that start or stop an NFC consumer. After shutting down a cleanu-up runnable frees all resources on the main thread. * Received messages are forwarded directly from the I/O thread to the NFC thread and unpacked there. There's no intermediate hop over the main thread any more. * Similarly to receiving, packed massages are forwarded directly from the NFC thread to the I/O thread. No intermediate hop over main is required. * On connection errors, |NfcConsumer| sends a runnable to the main thread to shutdown NFC. |
||
---|---|---|
.. | ||
nfc_consts.js | ||
Nfc.js | ||
Nfc.manifest | ||
NfcMessageHandler.cpp | ||
NfcMessageHandler.h | ||
NfcOptions.h | ||
NfcService.cpp | ||
NfcService.h | ||
nsINfcService.idl | ||
nsINfcSystemMessage.idl |